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
Next revision Both sides next revision
projection_type [2013/03/01 02:39]
admin [Using ERMapper parameters]
projection_type [2016/11/22 21:53]
hermann [Using a Proj4 description]
Line 1: Line 1:
 ====== Projection Type ====== ====== Projection Type ======
  
-Represents a [[wp>​Map_projection|map projection]]. ​+Represents a [[wp>​Map_projection|map projection]]. ​Projections can be defined using the predefined options (UTM, Geodetic etc) or using a WKT specification. 
 + 
 +WKT specifications must follow the [[wkt format|standard syntax]]. See the example below: 
 + 
 +    PROJCS["​SUTM21",​ 
 +        GEOGCS["​SOUTH AMERICAN 1969",​ 
 +            DATUM["​SAD69",​ 
 +                SPHEROID["​INT67",​6378160,​298.25]],​ 
 +            PRIMEM["​Greenwich",​0],​ 
 +            UNIT["​degree",​0.0174532925199433]],​ 
 +        PROJECTION["​Transverse_Mercator"​],​ 
 +        PARAMETER["​latitude_of_origin",​0],​ 
 +        PARAMETER["​central_meridian",​-57],​ 
 +        PARAMETER["​scale_factor",​0.9996],​ 
 +        PARAMETER["​false_easting",​500000],​ 
 +        PARAMETER["​false_northing",​10000000],​ 
 +        UNIT["​Meter",​1]]
  
 ===== 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 23: Line 39:
 [| "​LATLONG",​ "​GEODETIC",​ "​WGS84",​ "​METERS"​ |] [| "​LATLONG",​ "​GEODETIC",​ "​WGS84",​ "​METERS"​ |]
 </​code>​ </​code>​
 +
 ==== Using a WKT (Well-Known Text) description ==== ==== Using a WKT (Well-Known Text) description ====
  
Line 29: Line 46:
 </​code>​ </​code>​
  
-The syntax used to the represent the WKT_PROJECTION can be found [[http://​docs.geotools.org/​stable/​javadocs/​org/​opengis/​referencing/​doc-files/​WKT.html|here]].+The syntax used to the represent the WKT_PROJECTION can be found [[wkt format|here]].
  
 It is worth nothing that only the COORDINATE_TYPE must be surrounded by double quotes. It is worth nothing that only the COORDINATE_TYPE must be surrounded by double quotes.
Line 55: Line 72:
        ​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://​www.proj4.org|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>​
Line 60: Line 105:
 ---- ----
 A COORDINATE_TYPE is also case-insensitive and must be represented using keywords "​en"​ (Easting/​Northing),​ "​latlong"​ (Latitude/​Longitude) and "​none"​. The latter ​ can be used to automatically derive the coordinate type based on the projection parameters. A COORDINATE_TYPE is also case-insensitive and must be represented using keywords "​en"​ (Easting/​Northing),​ "​latlong"​ (Latitude/​Longitude) and "​none"​. The latter ​ can be used to automatically derive the coordinate type based on the projection parameters.
 +
 +===== Automatic Conversions =====
 +
 +  * **Converted from**: [[Map Type]] and [[Categorical Map Type]].
 +
 +  * **Converted to**: None.