Re: [gdal-dev] Releasing OGR feature from memory in Java

2015-03-19 Thread Even Rouault
Elke, Calling DestroyFeature() rather than delete is specific to C++ / Windows. For Java, calling .delete() or doing nothing special is fine. Quoting http://gdal.org/java/org/gdal/ogr/Feature.html#delete() : """ public void delete() Delete (in memory) a feature. Calling this method is

[gdal-dev] Releasing OGR feature from memory in Java

2015-03-19 Thread Ochs, Elke ERDC-RDE-CRREL-NH
Hello, What is the proper way in Java (Windows) to release a feature from memory that has been loaded from an OGR layer? I've been using .delete() on the feature object, but just read in an OGR API Tutorial that DestroyFeature should be used on Windows. I can't seem to find reference to a D