How to create GIS enabled image viewer (QGraphicsview) in Qt
-
Hi
But what format need it support ? There are many GIS formats available. -
@kanuashu7
Hi
So maybe first find some c++ LIBs that allows reading such formats?
Im not sure if any of the Qt map stuff could be used.
I know many used GDAL but i have no personal experience with it
http://www.gdal.org/frmt_gtiff.html -
@kanuashu7 said in How to create GIS enabled image viewer (QGraphicsview) in Qt:
QGIS
But this cant be used or ?
-
Nope, its very difficult to understand the QGIS architecture and to understand its classes.
I am looking for simple solution like these are the steps i want to achieve -:- I need to make my qgraphicsview to understand the geographic coordinate system and UTM coordinate system.
- Load geo resgistered raster images on correct lat long location on my qgraphicsview.
-
+1 for smalltalk :)
-
@ofmrew Thanks for your suggestion.
I am able to read vector and raster files correctly.
Also, I can display them on QGraphicsview with its original coordinate system.But, I want to customize my QGraphicsview to one of the coordinate reference system mentioned below -:
- Geographic Coordinate Reference System
- UTM Coordinate Reference System
-
@kanuashu7 It has been awhile since I worked with GIS, but here are my observations:
QGraphicsView uses a flipped y-axis, so the data will probably be upside down, but you can correct for that.UMT should only require registration which requires a scale and translation.
For the first item, have you considered OpenGL or 3D.