Re: [gdal-dev] OSRSetPROJSearchPaths in multithreaded application

2019-07-31 Thread Matthew Amato
I apologize for resurrecting this thread, but we are running into the same problem, even after updating the the head of the "release/3.0" branch which contains Even's fix. Previously, we would set PROJ_LIB as an environment variable but after upgrading to 3.x/6.x we now receive thousands of "proj.

Re: [gdal-dev] OGRSpatialReference::IsSame returning TRUE unexpectedly

2017-09-05 Thread Matthew Amato
Thanks for the detailed write up and quick fix! Just to clarify your last sentence, are you saying there are still potential cases where IsSame returns TRUE when it shouldn't? Or were you just emphasizing that this is a very tricky check to get right in all cases? I'm just wondering if I should

[gdal-dev] OGRSpatialReference::IsSame returning TRUE unexpectedly

2017-09-05 Thread Matthew Amato
Short version: I don't understand why the below code snippet is returning TRUE. Unless I'm missing something, EPSG 3857 is not the same as 3395, why is GDAL reporting that they are? auto epsg3857 = OGRSpatialReference(); epsg3857.importFromEPSG(3857); auto ep