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
___
gdal-dev mailing li
Le samedi 16 février 2013 15:25:49, David Verbyla a écrit :
> I'm looking for documentation explaining when to use .geometry instead of
> .GetGeometryRef(()
The doc is in the code ;-)
swig/include/python/ogr_python.i :
def geometry(self):
return self.GetGeometryRef()