Sorry, I forgot to tell you that I used SHPReadOGRObject for read the
SHPObject.

 

put it at the beginning of the code of previous mail

 

SHPHandle  hSHP     = SHPOpen(chemin.c_str(),"rb");

SHPObject  *psShape = SHPReadObject(hSHP,0);

OGRGeometry *poPoly = SHPReadOGRObject(hSHP, 0,psShape);

 

 

Sincerly

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to