[gdal-dev] ogr2ogr failing on postgis?

Even Rouault even.rouault at spatialys.com
Sun Apr 10 12:06:20 PDT 2016


Le dimanche 10 avril 2016 20:39:25, Paolo Cavallini a écrit :
> Il 10/04/2016 18:01, Even Rouault ha scritto:
> > Yes, this is expected and a rather common problem with shapefiles.
> 
> Thanks a lot for the explanation. QGIS therefore creates an incorrect
> prj, but I did not noticed it because it loaded it with the correct
> EPSG. Ticket upstream opened:
> http://hub.qgis.org/issues/14655

No, QGIS did it fine (actually I suspect it generates .prj file through OGR 
itself). ESRI .prj file are supposed *not* to contain EPSG codes unfortunately. 
This is the ESRI WKT variant. Which makes it hard to deal with them on the 
reading side. The issue is more on the OGR side.

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


More information about the gdal-dev mailing list