On 8 March 2011 23:22, Even Rouault <[email protected]> wrote: > Not exactly. In fact you have to use the Geometry.GetGeometryCount() that > returns 1 (the exterior ring) + the number of interior rings. So > polygon.GetGeometryCount() - 1 should return the number of interior rings
I initially thought so too, except that assumption doesn't work for MultiPolygon geometry types. -Mike _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
