[gdal-dev] will ogr get coordinates in geographic coordinate system or projected coordinate system when using getPoint function

2013-09-15 Thread sepideh
showShapefile.rar In the uploaded file, I have included a program that shows a polygon shapefile on an opengl window. My problem is it seems the layer is stretched comparing to what is shown when we render it in ArcGIS, QGIS

[gdal-dev] How to use projection of a shapefile in order to have a better view in OpenGL

2013-09-14 Thread sepideh
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

[gdal-dev] How to iterate over each point of an OGRMultiPoint

2013-09-13 Thread sepideh
I have this code and I don't know how to iterate over each part ( point ) of the feature of type wkbMultiPoint: //Multipoint Shapefile if ( wkbFlatten ( LayerGeometryType ) == wkbMultiPoint ) { OGRFeature *poFeature; MultipointFeature MultiPoint; for ( i

[gdal-dev] How can I support polygons with islands in my APPLICATION USING gdal/ogr library?

2013-09-12 Thread sepideh
MyTest.rar I have uploaded my MyTest.shp created in ArcGIS. If you open it, you will see that it has nine polygons and in the attribute table of the layer, I have explained about the features of each polygon. My problem is: I'm devel

Re: [gdal-dev] How can I support polygons with islands in my APPLICATION USINGgdal/ogr library?

2013-09-12 Thread sepideh
utm_content=001&dom&token=3CWKDR1oB%2Fa1CY683nuayO4t02ptjHf6V8zz9sSw1BseghDtsirTIxCwhnGFOUGG&key=ePbkSKTVyU7IFMOXoR7%2BEadHh%2FSlMgX5aRPFT9Mq6Jw%3D> > > Le jeudi 12 septembre 2013 19:56:11, sepideh a écrit : > > > MyTest.rar <http://osgeo-org.1560.x6.nabble.com/file/n5077579/MyTe