[gdal-dev] How to check are there any OGRGeometry (polygons) within an OGRGeometry (polygon) ?

taibc taibc_coltech at yahoo.com
Sun Jun 2 18:34:43 PDT 2013


Hi everyone,
Please see my image:

  <http://osgeo-org.1560.x6.nabble.com/file/n5057389/Multipolygon.png> 

I used the below statements to get Geometry: 

OGRGeometry *poGeometry;
poGeometry = poFeature->GetGeometryRef();

Do you know how to check whether the Polygon 1 (geometry) is empty (or
include a small polygon) or not ?

If it is possible, how to get or identify the polygon 2 ?

Thanks and regards,

Tai



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/How-to-check-are-there-any-OGRGeometry-polygons-within-an-OGRGeometry-polygon-tp5057389.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list