How to display geotiff image using qt ?
-
Hai,
I would like to know how to display the geotiff image using Qt without losing metadata information stored in geotiff file. I need to get longitude ,latitude and height information of geotiff file by mouse click. How to do that? I am not able to display the geotiff image using qt. -
Hai
I think you need a external LIB for that. ( the meta data)
This should be good/work. ( seen it recommended. not tried) -
Thanks for the reply.yeah I have installed GDAL too. I don't know how to use that with qt to display geotiff and it's information like long,lat and height.
@umadevi
Well first step is to read GDAL docs and find out how to get that info.
Later you can see how to integrate with Qt.
http://stackoverflow.com/questions/33807705/create-a-qimage-from-a-gdaldatasetMaybe this gives good info
https://www.youtube.com/watch?v=pkE8kYkE09YIt seems pretty complex so be prepared to spend some time to learn GDAL API.