Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix proj_assign_context()/pj_set_ctx() with pipelines and alternative coord operations #1726
pj_set_ctx() only changes the context to the main object. It should also
In the GDAL use case with multithreaded reprojection, and objects being transferred
… coord operations Fixes OSGeo/gdal#1989 pj_set_ctx() only changes the context to the main object. It should also recurse down to the steps of the pipeline and the alternative coordinate operations hold in alternativeCoordinateOperations In the GDAL use case with multithreaded reprojection, and objects being transferred between thread, this would cause a failed coordinate transformation to affect an unrelated transformation of another thread...
@rouault the next version is 6.3.0 so it is strictly not necessary to backport to the 6.2 branch. No harm in doing it, just want to make sure that we are on the same page regarding the release schedule.
As for the fix, it seems like the right way to deal with this problem.