Re: [gdal-dev] GDAL thread safety

2012-10-03 Thread Even Rouault
> The proper > solution would be to fix CPLOpenShared() to be more thread-friendly (that > is to say to return different file handles if called with the same > filename from different threads) > Should be fixed by ticket http://trac.osgeo.org/gdal/ticket/4848 that should go into GDAL 1.9.2RC2. I

Re: [gdal-dev] GDAL thread safety

2012-10-03 Thread Even Rouault
Hi > The file I am having problems with is a VRT file that references a raw file > using VRTRawRasterBand. > > I have used gdal_translate to convert it to a TIFF and that does not have > problems. > > Is it possible the VRT driver is not thread safe? On closer review, it appears that VRTRawRaster

[gdal-dev] GDAL thread safety

2012-10-02 Thread Leith Bade
Hi, I am working on a Java tiling program that uses GDAL to read the source files. (Writing is done via Java ImageIO) Currently I am trying to implement multithreaded processing to speed the program up. I note on the FAQ that it says that GDAL is thread safe if you open a new dataset for each th