You are correct. Here is the related issue: https://github.com/OSGeo/PROJ/issues/1565
The solution would be to use proj_context_set_autoclose_database. This can reduce performance for single threaded applications, so it would probably be good to have a way to toggle it on for multi-threaded applications.
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev