PRJ-Datei: Unterschied zwischen den Versionen

Aus Geoinformation HSR
Wechseln zu: Navigation, Suche
K
Zeile 10: Zeile 10:
 
Beispiel einer .PRJ-Datei aus einem Projekt aus der Schweiz und mit WGS84-Datenformat (mit Umbrüchen):
 
Beispiel einer .PRJ-Datei aus einem Projekt aus der Schweiz und mit WGS84-Datenformat (mit Umbrüchen):
 
   GEOGCS["GCS_WGS_1984",  
 
   GEOGCS["GCS_WGS_1984",  
  DATUM["D_WGS_1984",  
+
    DATUM["D_WGS_1984",  
  SPHEROID["WGS_1984",6378137.0,298.257223563]],  
+
      SPHEROID["WGS_1984", 6378137.0, 298.257223563]
  PRIMEM["Greenwich", 0.0],
+
    ],  
  UNIT["Degree", 0.0174532925199433]]
+
    PRIMEM["Greenwich", 0.0],
 +
    UNIT["Degree", 0.0174532925199433]
 +
  ]
  
 
Beispiel mit CH1903:
 
Beispiel mit CH1903:
 
   PROJCS["CH1903_LV03",  
 
   PROJCS["CH1903_LV03",  
  GEOGCS["GCS_CH1903",DATUM["D_CH1903",  
+
    GEOGCS["GCS_CH1903",
  SPHEROID["Bessel_1841", 6377397.155, 299.1528128]],  
+
      DATUM["D_CH1903",  
  PRIMEM["Greenwich",0.0],  
+
        SPHEROID["Bessel_1841", 6377397.155, 299.1528128]
  UNIT["Degree",0.0174532925199433]],  
+
      ],  
  PROJECTION["Hotine_Oblique_Mercator_Azimuth_Center"],  
+
      PRIMEM["Greenwich",0.0],  
  PARAMETER["False_Easting",600000.0],  
+
      UNIT["Degree",0.0174532925199433]
  PARAMETER["False_Northing",200000.0],  
+
    ],  
  PARAMETER["Scale_Factor",1.0],  
+
    PROJECTION["Hotine_Oblique_Mercator_Azimuth_Center"],  
  PARAMETER["Azimuth",90.0],  
+
    PARAMETER["False_Easting",600000.0],  
  PARAMETER["Longitude_Of_Center",7.439583333333333],  
+
    PARAMETER["False_Northing",200000.0],  
  PARAMETER["Latitude_Of_Center",46.95240555555556],  
+
    PARAMETER["Scale_Factor",1.0],  
  UNIT["Meter",1.0]]
+
    PARAMETER["Azimuth",90.0],  
 +
    PARAMETER["Longitude_Of_Center",7.439583333333333],  
 +
    PARAMETER["Latitude_Of_Center",46.95240555555556],  
 +
    UNIT["Meter",1.0]
 +
  ]

Version vom 26. Oktober 2007, 19:35 Uhr

The .prj file contains a text description of a coordinate system in the OpenGIS Well-Known Text (WKT) format.

Siehe auch GIS-Datei-Format.

Note that this .prj format is the same as the .prj format used by the most recent versions of ESRI software, but different from the .prj format of older ESRI software.

Developers may find it useful to use free libraries such as OGR (or indirectly, GDAL).


Beispiel einer .PRJ-Datei aus einem Projekt aus der Schweiz und mit WGS84-Datenformat (mit Umbrüchen):

 GEOGCS["GCS_WGS_1984", 
   DATUM["D_WGS_1984", 
     SPHEROID["WGS_1984", 6378137.0, 298.257223563]
   ], 
   PRIMEM["Greenwich", 0.0],
   UNIT["Degree", 0.0174532925199433]
 ]

Beispiel mit CH1903:

 PROJCS["CH1903_LV03", 
   GEOGCS["GCS_CH1903",
     DATUM["D_CH1903", 
       SPHEROID["Bessel_1841", 6377397.155, 299.1528128]
     ], 
     PRIMEM["Greenwich",0.0], 
     UNIT["Degree",0.0174532925199433]
   ], 
   PROJECTION["Hotine_Oblique_Mercator_Azimuth_Center"], 
   PARAMETER["False_Easting",600000.0], 
   PARAMETER["False_Northing",200000.0], 
   PARAMETER["Scale_Factor",1.0], 
   PARAMETER["Azimuth",90.0], 
   PARAMETER["Longitude_Of_Center",7.439583333333333], 
   PARAMETER["Latitude_Of_Center",46.95240555555556], 
   UNIT["Meter",1.0]
 ]