[gdal-dev] Shapefile: automatic retrieval of EPSG code

Even Rouault even.rouault at spatialys.com
Mon Sep 25 12:43:21 PDT 2017


> 
> Thank you very much, Even! I have only one observation about the first
> example: the standard parallels values are switched in the gdalsrsinfo
> results. So, it seems like that they don't match at all, excluding the
> mapped CRS name. Definitively the confidence in this match, according to
> your definition, should be only 50%.

This is indeed an exception. For Lambert_Conformal_Conic_2SP, the order of 
standard parallel is indifferent (and EPSG and ESRI don't use the same order. 
Same with MapInfo as far as I remember). This results in the same 
mathematical projection. So I've added an exception in IsSame() to accept that 
difference.

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170925/c86ae122/attachment.html>


More information about the gdal-dev mailing list