Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projection_type [2015/10/13 17:51]
admin [Projection Type]
projection_type [2016/11/22 22:00] (current)
hermann [Projection Type]
Line 1: Line 1:
 ====== Projection Type ====== ====== Projection Type ======
  
-Represents a [[wp>​Map_projection|map projection]]. Projections can be defined using the predefined options (UTM, Geodetic etc) or using a WKT specification.+Represents a [[wp>​Map_projection|map projection]]. Projections can be defined using the predefined options (UTM, Geodetic etc)using a WKT specification,​ using an EPSG code or using a Proj4 specification.
  
-WKT specifications must follow the [[wkt format|standard syntax]]. See the example below:+WKT specifications must follow the [[wkt format|WKT standard syntax]]. See the example below:
  
     PROJCS["​SUTM21",​     PROJCS["​SUTM21",​
Line 18: Line 18:
         PARAMETER["​false_northing",​10000000],​         PARAMETER["​false_northing",​10000000],​
         UNIT["​Meter",​1]]         UNIT["​Meter",​1]]
 +
 +The Proj4 syntax must also follow the [[http://​proj4.org/​parameters.html|Proj4 specification syntax]]. Example:
 +
 +    [ +proj=latlong +ellps=GRS80 +towgs84=-199.87,​74.79,​246.62 ]
  
 ===== GUI Editor ===== ===== GUI Editor =====
  
-[{{ :​editors:​projection_editor.png?​nolink&​ |Graphical representation of the projection editor}}]+[{{ :​editors:​projection_editor.png?​nolink&​500 |Graphical representation of the projection editor}}]
  
 ===== EGO Script ===== ===== EGO Script =====
Line 72: Line 76:
        ​PARAMETER["​false_northing",​-2000000],​        ​PARAMETER["​false_northing",​-2000000],​
        ​UNIT["​METERS",​1]]]        ​UNIT["​METERS",​1]]]
 +|]
 +</​code>​
 +
 +==== Using a Proj4 description ====
 +
 +<code cpp>
 +[| "​COORDINATE_TYPE",​ [ PROJ4_PROJECTION ] |]
 +</​code>​
 +
 +The syntax used to the represent the PROJ4_PROJECTION can be found [[http://​proj4.org/​parameters.html|here]].
 +
 +Example:
 +<code cpp>
 +[| "​LATLONG",​
 +   [ +proj=longlat +ellps=WGS84 +towgs84=0,​0,​0,​0,​0,​0,​0 +no_defs ]
 +|]
 +</​code>​
 +
 +==== Using a EPSG code ====
 +
 +<code cpp>
 +[| "​COORDINATE_TYPE",​ EPSG_CODE ] |]
 +</​code>​
 +
 +Example:
 +<code cpp>
 +[| "​LATLONG",​
 +   7030
 |] |]
 </​code>​ </​code>​