On mardi 5 septembre 2017 20:21:17 CEST Matthew Amato wrote: > 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?
Hopefully not. > I'm just wondering if I should ditch my optimization of checking > the spatial reference and always do a reproject (via VRT) even if it > results in a no-op in some cases. I assume the overhead of a no-op VRT is > fairly small and I'm concerned with correctness more than anything else. If "same for reprojection" is what matters for you, a safe way of checking is calling exportToProj4() on both SRS and checking for equality on the returned strings. -- Spatialys - Geospatial professional services http://www.spatialys.com
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev