? > ?> my question is
> > starting from gdal-3.x OGRCoordinateTransformation object (::Transform() in > > particular) is not intended to be used by multiple threads? With gdal-2.4 > > it worked fine. > > OGRCoordinateTransformation, as most objects in GDAL, instances have never > > been > intended from being used by multiple threads. That it might have worked in > 2.4 was an implementation detail. > > Even The OGRCoordinateTransformation implementation class defines several (over 20) data members. Some of them are altered during a transformation, and hence the implementation is not thread safe. At least the variables used for reverse checking the result could be placed into the Transform method instead to improve thread safety. However, since there were some many member variables I did not check them all. Mika
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
