Hi Akshay,<div><br></div><div>There is QGIS[1] which does both raster and vector rendering and a lot of things more that you need.</div><div>You can develop a small application using QGIS as library. You need to link your application with qgis_core and qgis_gui. </div>
<div>There are some nice tutorials written by tim sutton[2]. and QGIS uses Qt and cross platform</div><div><br></div><div>[1] <a href="http://qgis.org">qgis.org</a></div><div>[2] <a href="http://blog.qgis.org/taxonomy/term/1">http://blog.qgis.org/taxonomy/term/1</a></div>
<div><br><br><div class="gmail_quote">On Wed, May 9, 2012 at 7:00 PM, akshay gupta <span dir="ltr"><<a href="mailto:akshaygupta202@gmail.com" target="_blank">akshaygupta202@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><div class="gmail_quote"><div><div>Hi all,<br><div class="gmail_quote"><br>I am writing an application to load vector maps/shape files using gdal/ogr and display them onto a gui designed using Qt. I am new to dealing with vector files, I am not able to decide how to render them on GUI. Few approaches that come to my mind are: <br>
- To convert vector files to raster and display them as raster..<br>- To draw each shape in vector file one by one (i dont know how to do this, I dont even know whether it would be even possible this using GDAL/OGR, or how complex this would be because in my case vector files can be very complex)<br>
<br> The decision how to render vector files is very important for me, because after displaying vector files i need to support some advanced features like projection change, interactive selection, Geo-referencing etc.<br>
<br>Can any one who has worked on vector/gis stuff, tell me how this is usually done and what Qt widget is used for displaying such data.<br><br>Thanks,<br>Akshay gupta<br><br>
</div><br>
</div></div></div><br>
<br>_______________________________________________<br>
Discuss mailing list<br>
<a href="mailto:Discuss@lists.osgeo.org">Discuss@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/discuss" target="_blank">http://lists.osgeo.org/mailman/listinfo/discuss</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font face="arial, helvetica, sans-serif">Regards,<br> Rashad</font></div><br>
</div>