[Qgis-user] QGIS is chosing the wrong projection when opening shapefiles

James Stott jamesstott1 at gmail.com
Tue Feb 19 04:55:54 PST 2013


QGIS is reporting that a layer that I know is in EPSG 25833 (ETRS89 /
UTM zone 33N) is in EPSG 3006 (SWEREF99 TM).  The website I download
the Shapefile from says it is in 25833, the prj file contains the
following:



PROJCS["ETRS_1989_UTM_Zone_33N",GEOGCS["GCS_ETRS_1989",DATUM["D_ETRS_1989",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",15.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]



The output from ogrinfo :



C:\Users\fmrojst\Desktop\boundaries>ogrinfo -so -al problem_layer.shp

INFO: Open of `problem_layer.shp'

      using driver `ESRI Shapefile' successful.



Layer name: problem_layer

Geometry: Polygon

Feature Count: 21

Extent: (-99551.210000, 6426048.440000) - (1121940.590000, 7962743.580000)

Layer SRS WKT:

PROJCS["ETRS_1989_UTM_Zone_33N",

    GEOGCS["GCS_ETRS_1989",

        DATUM["European_Terrestrial_Reference_System_1989",

            SPHEROID["GRS_1980",6378137.0,298.257222101]],

        PRIMEM["Greenwich",0.0],

        UNIT["Degree",0.0174532925199433]],

    PROJECTION["Transverse_Mercator"],

    PARAMETER["False_Easting",500000.0],

    PARAMETER["False_Northing",0.0],

    PARAMETER["Central_Meridian",15.0],

    PARAMETER["Scale_Factor",0.9996],

    PARAMETER["Latitude_Of_Origin",0.0],

    UNIT["Meter",1.0]]



Does anyone know why it could be doing this? The shapefile opens with
the correct projection in ArcMap.



I have found this issue (http://trac.osgeo.org/gdal/ticket/4931) for
EPSG 25832...



More information about the Qgis-user mailing list