[gdal-dev] Seg fault exporting to wkt...
Tyler Mitchell
tyler.mitchell at actian.com
Tue Nov 27 11:35:11 PST 2012
Just curious why the following two (seemingly similar) approaches using OGR Python access act differently. Should it act that way?
This works:
...
f1 = lay1.GetFeature(1)
g1 = f1.GetGeometryRef()
g1.ExportToWkt()
This seg faults:
...
g1 = lay1.GetFeature(1).GetGeometryRef()
g1.ExportToWkt()
Same issue with all the GEOS functions I was trying as well.
Thanks for any thoughts,
Tyler
More information about the gdal-dev
mailing list