[gdal-dev] Gdal Java - Translate creates indestructible file

Even Rouault even.rouault at spatialys.com
Thu Mar 16 11:05:01 PDT 2017


> Is it possible the Translate() method is not closing a Stream 
somewhere?

Absolutely, it returns a valid Dataset object, and thus (on 
Windows, you are on Windows I guess), you need to close it with 
.delete() explicitly to release the file handle it owns.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170316/a6df44a5/attachment.html>


More information about the gdal-dev mailing list