Vincent,
Should we have a threadlocal based implementation on OGRCoordinateTransformation object ?
Yes, one OGRCoordinateTransformation object per thread. See https://gdal.org/en/stable/user/multithreading.html : "Unless otherwise stated, no GDAL public C functions and C++ methods should be assumed to be thread-safe. That is you should not call simultaneously GDAL functions from multiple threads on the same data instance"
Even -- http://www.spatialys.com My software is free, but my time generally not.
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev