jorgealmerio / valuetool

QGis plugin to display in a table or plot the values from the visible raster layers at the current mouse position
4 stars 7 forks source link

elvation data with coordinate #6

Closed mwindowshz closed 4 years ago

mwindowshz commented 4 years ago

added support to display elevation data with coordinate values

the funny if statments are because I got ident, as None or with a string, and had exceptions. so this is my workaround I guess you can have a neater solution.

Great tool. needed to display coordinate and elevation from DTM. So update the code

image

Home this can be incorporated in official tool.

M.

jorgealmerio commented 4 years ago

Hi, I did your suggestion! But I could not made it to work using your Pull request. I Inserted 1 code line at 379:

# mwindowshz Pull Request self.labelStatus.setText(self.tr('Coordinate:') + '{},{},{}'.format(position.x(), position.y(),bandvalue))

I hope you don't mind!