<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Vincent,
    <blockquote type="cite"
cite="mid:DU2PR07MB8126BC4D697E66F470176ED6A8CB2@DU2PR07MB8126.eurprd07.prod.outlook.com">
      <div>
        <div class="elementToProof"
style="text-align: left; text-indent: 0px; background-color: rgb(255, 255, 255); margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Should
          we have a threadlocal based implementation on
          OGRCoordinateTransformation object ?</div>
      </div>
    </blockquote>
    <p>Yes, one OGRCoordinateTransformation object per thread. See
      <a class="moz-txt-link-freetext" href="https://gdal.org/en/stable/user/multithreading.html">https://gdal.org/en/stable/user/multithreading.html</a> : "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"</p>
    <p>Even</p>
    --
    <pre class="moz-signature" cols="72"><a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </body>
</html>