I'm using the Java bindings if it matters. I have a heavily multi-threaded program and this is one of the bottlenecks that I have in a synchronization block. If I could remove the synchronization, it would improve speed a bit I believe, but I can't find any information whatsoever whether it's thread-safe or not, or how best to personally test for that.

The specific line would look something like: FROM_WGS84.TransformPoint(coordinates[0], coordinates[1]); where FROM_WGS84 is a CoordinateTransformation class created using CoordinateTransformation.CreateCoordinateTransformation(), but with arguments supplied obviously.

  • 2
    I think that the best GDAL experts follow gis.stackexchange only occasionally and gdal-dev mailing list may serve you better this time.
    – user30184
    Jul 11 '15 at 11:41
  • 1
    Did you ask? Did you get an answer?
    – user30184
    Jul 16 '15 at 19:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.