Could anybody please tell about these poitns?
1) waht is the difference between MapWinGIS.Grid and MapWinGIS.Image class? (As i understand Image class is for any normal picture like .bmp whereas Grid class is for Geo-Referenced image like Geotiff, am i right???)
2) I am using following code to open a geotiff file in MapControl, but everytime its giving error : "Interface Not Supported"!!
Dim grid As New MapWinGIS.Grid()
Dim success As Boolean
success = grid.Open("D:\GIS_Data_Tiles\DEM_51_06.tif")
If Not success Then
MsgBox("There was an error opening the image.")
3) I want to access each and every Lat/Long/Altitude value stored in goetiff image (by moving the mouse over the image)and show them in three textboxes(lets say). what procedure shall i follow and what function shall i use to get this?
Thanks and regards,
I can access the columns and rows of the image using
"GridObject.CellToProj(x, y, col, row)"
but how to get the altitude value associated with this point??
hoping for reply..
The MapWinGIS.Grid class is for grids.
To show a grid in MapWindow you need to create an image of it using the GridToImage() method.
To get the value (altitude in your case) of a grid use Grid.Value()
Hope it helps,
Don't forget to read the new documentation: www.mapwindow.org/documentation/mapwingis4.8
Join us Google+: MapWindow GIS Google+ Community
Join the MapWindow Group on LinkedIn! LinkedIn - MapWindow Group
Download the latest beta installer at:
Follow me on Twitter MapWindow_nl to read when a new installer is published.
Release manager, configuration manager and
forum moderator of MapWindow GIS
Owner of MapWindow.nl - Support for
Dutch speaking users: www.mapwindow.nl
Everything I say or write is my personal opinion and
not the opinion of the company I work for.
View my profile on LinkedIn
i need to get the altitude of an Image file (dted)
how can i do this?