1

I want a custom projection used in ArcGIS be available in QGIS. I have the .prj file copied out of a ArcGIS folder (containing different projections). Now, I want this file to be added into QGIS. Is there a folder where I can copy this file into?

The custom projection is:

PROJCS["ETRS_1989_UTM_Zone_33N7",
GEOGCS["GCS_ETRS_1989",
DATUM["D_ETRS_1989",
SPHE‌​ROID["GRS_1980",6378137.0,298.257222101]],
PRIMEM["Greenwich",0.0],
UNIT["Degree",0‌​.0174532925199433]],
PROJECTION["Transverse_Mercator"],
PARAMETER["False_Easting",3‌​500000.0],
PARAMETER["False_Northing",0.0],
PARAMETER["Central_Meridian",15.0],
PARA‌​METER["Scale_Factor",0.9996],
PARAMETER["Latitude_Of_Origin",0.0],
UNIT["Meter",1.0‌​]] 
mkennedy
  • 18,916
  • 2
  • 38
  • 60
stefan
  • 159
  • 1
  • 2
  • 12
  • This old answer shows how custom projections are added into QGIS http://gis.stackexchange.com/questions/20566/how-to-define-new-custom-projections-in-qgis If you copy-paste the contents of your .prj file we can probably help you with finding the right proj4 parameters. – user30184 May 26 '14 at 09:35
  • Yes. Thank you very much, but I have read this before. The problem is, that I don´t have the proj4 code. – stefan May 26 '14 at 09:38
  • That's why I asked you to send the text from inside the .prj file, maybe we can interpret it and write the corresponding proj4 strings. – user30184 May 26 '14 at 09:46
  • This sounds awesome! This is what the file says: PROJCS["ETRS_1989_UTM_Zone_33N7",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",3500000.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]] – stefan May 26 '14 at 09:52
  • I will write the result of my experiment as an answer within a minute, let's hope it is correct. – user30184 May 26 '14 at 10:03

1 Answers1

3

You can use the gdalsrsinfo utility for converting the projection definitions from .prj file into proj4 format http://gdal.org/gdalsrsinfo.html.

In this case I saved your definitions into a file "prj.prj" and run this command:

gdal_dev>gdalsrsinfo -e proj4 prj.prj
Warning 1: EPSG detection is experimental and requires new data files (see bug #4345)

EPSG:-1

PROJ.4 : '+proj=tmerc +lat_0=0 +lon_0=15 +k=0.9996 +x_0=3500000 +y_0=0 +ellps=GRS80 +units=m +no_defs '

OGC WKT :
PROJCS["ETRS_1989_UTM_Zone_33N7",
    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",3500000.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 answer is: have a try by adding a custom projection into QGIS with proj4 parameters

PROJ.4 : '+proj=tmerc +lat_0=0 +lon_0=15 +k=0.9996 +x_0=3500000 +y_0=0 +ellps=GRS80 +units=m +no_defs '
mkennedy
  • 18,916
  • 2
  • 38
  • 60
user30184
  • 65,331
  • 4
  • 65
  • 118
  • Thanks for editing the answer and correcting the +lon values. Copy-paste from web page messed up the .prj file partly. – user30184 May 26 '14 at 15:40