> I assume this is not true of the return from OGR_F_GetGeometryRef, which
> needs to be cloned or it can become invalid.

Yes, the geometry of a feature belongs to the feature. If you destroy the 
feature, the geometry becomes invalid. So you need to clone it to get a 
standalone version.

-- 
Geospatial professional services
http://even.rouault.free.fr/services.html
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to