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

Helmut Kudrnovsky hellik at web.de
Sat Nov 12 16:19:09 PST 2016


Martin Landa wrote
> Hi,
> 
> 2016-11-11 18:56 GMT+01:00 Even Rouault <

> even.rouault@

> >:
>> 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

the same can be often observed for srs used in Austria that aren't be
recognized by QGIS cause of a "missing" EPSG code. 




-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/gdal-dev-ogr2ogr-PG-SHP-lacks-EPSG-code-tp5295371p5295464.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list