[gdal-dev] gdalsrsinfo supporting files distribution and ogr2ogr usage of OSRFindMatches()

Even Rouault even.rouault at spatialys.com
Mon Oct 29 03:05:44 PDT 2018


On lundi 29 octobre 2018 00:28:07 CET Jorge Gustavo Rocha wrote:
> Hi devs,
> 
> I've just answered a question related to gdalsrsinfo, to get the fix
> #4345 [1].
> 
> First question: why these epsg*.wkt.gz files are not distributed with
> gdal? Are there any drawbacks?

I can't remember. Was mostly experimental. Anyway OSRFindMatches() uses 
another approach, and gdalsrsinfo -e uses it since GDAL 2.3

> 
> My second question is about this OSRFindMatches() function. It works
> well in gdalsrsinfo. Can it also be used in ogr2ogr?

It is used by the shapefile driver when the match is evaluated to be 
trustable, so you may need to upgrade to GDAL 2.3

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list