[gdal-dev] OSRSetPROJSearchPaths in multithreaded application

Even Rouault even.rouault at spatialys.com
Wed Jul 17 08:57:27 PDT 2019


> I did some more investigation, and it seems like the threading is
> indeed not the issue.
> The issue seems to be that the geotiff library also creates proj
> contexts and these contexts do not have
> the search paths that are passed to the OSRGetProjTLSContext call.

Should be fixed per
https://github.com/OSGeo/gdal/commit/48793b5613cf1bf789125516ba845947dc63098f
in master
and
https://github.com/OSGeo/gdal/commit/ffb0ad0c862cf4ef5d6907d1d83cc76fcf8c305b
in 3.0 branch

This requires GDAL to be built against its internal libgeotiff, or using 
latest (= a few minutes ago) libgeotiff from OSGeo/libgeotiff HEAD.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list