[Qgis-user] how does QGIS generate the EPSG from a Shapefile?

ralfwessels gis at ralf-wessels.de
Thu Oct 25 07:00:31 PDT 2018


Hi Rodrigo,

Only if the shapefiles contain a prj-file (with the right informations about
the coordinate system) QGIS opens it automatically correct.

If you use shapefiles with OGR you either need to specify the EPSG Code like

   ogr2ogr -a_srs EPSG:2066 output.shp input.shp

or - if you have - the prf-file like

   ogr2ogr -a_srs input.prj output.shp input.shp







--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html


More information about the Qgis-user mailing list