I'm sorry. I now see that this method is not exposed in the python bindings.
On Tue, Mar 8, 2011 at 2:59 PM, Chaitanya kumar CH <[email protected]>wrote: > Simon, > > You can use the OGRPolygon::getNumInteriorRings() method to get the number > of holes in an OGR polygon object. > > On Tue, Mar 8, 2011 at 2:27 PM, Simon Lyngby Kokkendorff <[email protected] > > wrote: > >> Hi List, >> >> I am using ogr via the python bindings to construct various polygons. >> Here's just a simple question, to which someone might have some input. Is >> there anyway to determine the topology, i.e. the number of holes, of a >> polygon without e.g. having to export to WKT and examining the output >> string. There doesn't seem to be any methods exposed in the bindings to do >> this directly? >> >> Cheers, >> Simon Kokkendorff, >> National Survey and Cadastre of Denmark >> >> >> _______________________________________________ >> gdal-dev mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/gdal-dev >> > > > > -- > Best regards, > Chaitanya kumar CH. > /tʃaɪθənjə/ /kʊmɑr/ > +91-9494447584 > 17.2416N 80.1426E > -- Best regards, Chaitanya kumar CH. /tʃaɪθənjə/ /kʊmɑr/ +91-9494447584 17.2416N 80.1426E
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
