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

2017-09-26 Thread Andrew Joseph
This is incredibly useful! Hopefully I will get around to recompiling my docker image to test this out soon! On Mon, Sep 25, 2017 at 12:30 PM, Even Rouault wrote: > Hi, > > > > As part of a AWEOC (*), following a recent email thread about year-long > issues when importing shapefiles, I've commit

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

2017-09-25 Thread Antonio Falciano
Il 25/09/2017 21:43, Even Rouault ha scritto: > > 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

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

2017-09-25 Thread Even Rouault
> > 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 >

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

2017-09-25 Thread Antonio Falciano
Il 25/09/2017 19:30, Even Rouault ha scritto: Hi,   As part of a AWEOC (*), following a recent email thread about year-long issues when importing shapefiles, I've committed a first version of a OSRFindMatches() function that iterates through the EPSG

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

2017-09-25 Thread Carl Godkin
On behalf of everyone who has considered written their own code to do something like this themselves, THANKS! I'm looking forward to using this in our code. carl On Mon, Sep 25, 2017 at 10:30 AM, Even Rouault wrote: > Hi, > > > > As part of a AWEOC (*), following a recent email thread about ye

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

2017-09-25 Thread Andrea Aime
On Mon, Sep 25, 2017 at 7:30 PM, Even Rouault wrote: > Hi, > > > > As part of a AWEOC (*) > AWE... some I'd say! (that made me laugh :-p ) And congrants for the good progress! Cheers Andrea == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. =

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

2017-09-25 Thread Even Rouault
Hi, As part of a AWEOC (*), following a recent email thread about year-long issues when importing shapefiles, I've committed a first version of a OSRFindMatches() function that iterates through the EPSG database to check for one or several matches between the input SRS and the catalog. The