[gdal-dev] retrieving geometry vesus .GetGeometryRef() function

David Verbyla dlverbyla at alaska.edu
Sat Feb 16 06:25:49 PST 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130216/bcac2527/attachment.html>


More information about the gdal-dev mailing list