[gdal-dev] Polygon(suite)

Alexandre Leclerc a.leclerc at valabre.com
Thu Mar 3 08:40:21 EST 2011


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110303/5eb89ab7/attachment.html


More information about the gdal-dev mailing list