[gdal-dev] OGRCoordinateTransformation & MultiThread
Even Rouault
even.rouault at spatialys.com
Wed Mar 5 01:17:31 PST 2025
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20250305/cd889c3e/attachment.htm>
More information about the gdal-dev
mailing list