showShapefile.rar <http://osgeo-org.1560.x6.nabble.com/file/n5077865/showShapefile.rar> Dear reader In the attached file, I have included a program that shows a polygon .shp in OpenGL. My problem is after finishing the work I found that the layer, is not shown as it is shown in the ArcGIS or global mapper. I mean it seems that the layer is stretched. So two questions rose up for me:
Can using projection of the layer help me? How? I mean how can I apply the projection of layer to OpenGL? As you see the OpenGL is using an ortographic projection (glOrtho). Do you think using (glFustrum) instead will solve my problem and I can ignore projection of layer? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/How-to-use-projection-of-a-shapefile-in-order-to-have-a-better-view-in-OpenGL-tp5077865.html Sent from the GDAL - Dev mailing list archive at Nabble.com. _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
