Hi list,

I am looking for ways to calculate hollow polygon area.

Will the following code work?
for feature in layer:
    geom = feature.GetGeometryRef()
    area = geom.GetArea()


Thanks,
Shawn


_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to