[gdal-dev] ogr2ogr PG->SHP lacks EPSG code

Martin Landa landa.martin at gmail.com
Sat Nov 12 14:27:30 PST 2016


Hi,

2016-11-11 18:56 GMT+01:00 Even Rouault <even.rouault at spatialys.com>:
> The WKT variant of ESRI Shapefile .prj doesn't have EPSG codes (nor TOWGS84
> node by the way). At least that was how it was historically and GDAL "morphs"
> OGC WKT to ESRI WKT this way (there are other variations in names of
> projection methods and parameters). Regarding the EPSG code, for some reason,
> I believe this might perhaps have changed in recent ArcGIS versions but I'm
> not sure. Perhaps someone could confirm

you are right, EPSG codes are missing when producing SHP in ArcGIS
(tested 10.4 version) [1]. The problem is that such Shapefiles are not
recognized by QGIS as EPSG 5514 (QGIS shows user-defined SRS 1000).
Any idea? Thanks, Martin

[1] http://147.32.131.147/landa/Export_Output.prj.txt

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the gdal-dev mailing list