Hi Rodrigo,
GDAL (regular distribution) is not able to identify the EPSG code from
the *.prj string. This is a known limitation. This has been fix (see bug
[1]), but it requires additional files on your side.
Two options:
1) Download the files from:
Hello Jorge,
When I used your command like, the ogr showed this message:
"Layer name: DEINFO_CEMITERIOS
Geometry: Polygon
Feature Count: 42
Extent: (317568.093609, 7361463.898064) - (357756.090027, 7412287.112520)
Layer SRS WKT:
PROJCS["SAD69_UTM_zone_23S",
GEOGCS["GCS_SAD69",
Oi Rodrigo,
Can you run ogrinfo in the command line? Like:
ogrinfo -al -so yourshape.shp
This will tell you the CRS detected by ogr.
ogr (and QGIS) uses the *.prj file. But there are known problems with
the WKT representation of CRS. Sometimes it is hard to know if two
different strings
Am 25.10.18 um 16:00 schrieb ralfwessels:
Hi Rodrigo,
Only if the shapefiles contain a prj-file (with the right informations about
the coordinate system) QGIS opens it automatically correct.
Not necessarily with the correct EPSG code. If there are several EPSG
codes with (almost) similar
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 -
As far as I know, qgis cannot discover it. If the shapefile is missing
the projection info, it will either:
1. Ask you to select it
2. Select the one your current map is set to
3. Select a predefined epsg
depending on your settings.
If your settings are 2. or 3. you might not notice this, and
Hello everyone,
I would like to know: how does QGIS generate the EPSG from a Shapefile?
I ask this question, because I'm trying to upload a Shapefile by OGR,
but the OGR doesn't
insert the correct EPSG. So I need always open the Shapefile in QGIS to
discover the
EPSG before uploading it with