Hi, i am Intersecting to MultiPolygons and get a OGRGeometry which sometimes contains a OGRGeometryCollection depending on the complexity of the overlap. Now i'd like to iterate over the Geometries in the collection but the OGRGeometry Class does not have the ->removeGeometry or ->getGeometryRef so i'd need to cast the OGRGeometry to a OGRGeometryCollection. I saw that gdal 2.3 does have a ->toGeometryCollection but i am on Debian/Stretch which has gdal 2.1 so i am lost on how to extract the geometries of the GeometryCollection in an OGRGeometry object.
Flo -- Florian Lohoff f...@zz.de UTF-8 Test: The 🐈 ran after a 🐁, but the 🐁 ran away
Description: PGP signature
_______________________________________________ gdal-dev mailing list firstname.lastname@example.org https://lists.osgeo.org/mailman/listinfo/gdal-dev