[gdal-dev] Calculating hollow polygon area
Gong, Shawn
shawn.gong at mdacorporation.com
Mon Aug 17 14:19:07 PDT 2020
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200817/d335277b/attachment.html>
More information about the gdal-dev
mailing list