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

2016-11-19 Thread Even Rouault
On samedi 19 novembre 2016 16:34:16 CET Martin Landa wrote: > Hi, > > 2016-11-13 13:29 GMT+01:00 Even Rouault : > > thanks for detailed insight. BTW, ogr2ogr couldn't also generates .qpj > when srs epgs code is given? It could certainly do this, but the question is more: should it do it ? Adding

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

2016-11-19 Thread Martin Landa
Hi, 2016-11-13 13:29 GMT+01:00 Even Rouault : thanks for detailed insight. BTW, ogr2ogr couldn't also generates .qpj when srs epgs code is given? Martrin -- Martin Landa http://geo.fsv.cvut.cz/gwiki/Landa http://gismentors.cz/mentors/landa ___ gdal-d

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

2016-11-13 Thread Even Rouault
Le samedi 12 novembre 2016 23:27:30, Martin Landa a écrit : > Hi, > > 2016-11-11 18:56 GMT+01:00 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

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

2016-11-12 Thread Helmut Kudrnovsky
n > > [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

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

2016-11-12 Thread Martin Landa
Hi, 2016-11-11 18:56 GMT+01:00 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 an

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

2016-11-11 Thread Even Rouault
Le vendredi 11 novembre 2016 16:53:02, Martin Landa a écrit : > Hi, > > when trying to convert PostGIS data to Shapefiles I discovered strange > issue. Input data: > > ogrinfo "PG:dbname=gismentors" ruian.kraje -so > .. > Layer SRS WKT: > PROJCS["S-JTSK / Krovak East North", > GEOGCS["S-JTSK

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

2016-11-11 Thread Martin Landa
Hi, when trying to convert PostGIS data to Shapefiles I discovered strange issue. Input data: ogrinfo "PG:dbname=gismentors" ruian.kraje -so .. Layer SRS WKT: PROJCS["S-JTSK / Krovak East North", GEOGCS["S-JTSK", DATUM["System_Jednotne_Trigonometricke_Site_Katastralni", S