I'm looking for documentation explaining when to use .geometry instead of
.GetGeometryRef(()

for example:
>>> testPoly1 = square1.geometry()
>>> testPoly2 = square1.GetGeometryRef()

the seem to both return the same polygon object
<osgeo.ogr.Geometry; proxy of <Swig Object of type 'OGRGeometryShadow *'

Thank you!

Dave Verbyla
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to