org.deegree.cs.coordinatesystems
Class GeographicCRS

java.lang.Object
  extended by org.deegree.cs.CRSIdentifiable
      extended by org.deegree.cs.coordinatesystems.CoordinateSystem
          extended by org.deegree.cs.coordinatesystems.GeographicCRS

public class GeographicCRS
extends CoordinateSystem

The GeographicCoordinateSystem (in epsg aka Geodetic CRS) is a two dimensional crs with axis of lat-lon.

Version:
$Revision: 23245 $, $Date: 2010-03-25 10:45:24 +0100 (Do, 25. Mär 2010) $
Author:
Rutger Bezema, last edited by: $Author: rbezema $

Nested Class Summary
 
Nested classes/interfaces inherited from class org.deegree.cs.coordinatesystems.CoordinateSystem
CoordinateSystem.CRSType
 
Field Summary
static GeographicCRS WGS84
          A geographic coordinate system using WGS84 datum.
static GeographicCRS WGS84_YX
          A geographic coordinate system using WGS84 datum.
 
Constructor Summary
GeographicCRS(GeodeticDatum datum, Axis[] axisOrder, CRSCodeType code)
           
GeographicCRS(GeodeticDatum datum, Axis[] axisOrder, CRSCodeType[] codes)
           
GeographicCRS(GeodeticDatum datum, Axis[] axisOrder, CRSCodeType[] codes, java.lang.String[] names, java.lang.String[] versions, java.lang.String[] descriptions, java.lang.String[] areasOfUse)
           
GeographicCRS(GeodeticDatum datum, Axis[] axisOrder, CRSCodeType code, java.lang.String name)
           
GeographicCRS(GeodeticDatum datum, Axis[] axisOrder, CRSCodeType code, java.lang.String name, java.lang.String version, java.lang.String description, java.lang.String areaOfUse)
           
GeographicCRS(GeodeticDatum datum, Axis[] axisOrder, CRSIdentifiable identity)
           
GeographicCRS(java.util.List<Transformation> transformations, GeodeticDatum usedDatum, Axis[] axisOrder, CRSIdentifiable id)
           
 
Method Summary
 int getDimension()
           
 CoordinateSystem.CRSType getType()
           
 
Methods inherited from class org.deegree.cs.coordinatesystems.CoordinateSystem
convertToAxis, equals, getAxis, getDatum, getDirectTransformation, getEasting, getGeodeticDatum, getNorthing, getTransformations, getTypeName, getUnits, getValidDomain, hasDirectTransformation, hashCode, toString
 
Methods inherited from class org.deegree.cs.CRSIdentifiable
addAreaOfUse, addName, checkForNullObject, checkForNullObject, checkForNullObject, getAreaOfUse, getAreaOfUseBBox, getAreasOfUse, getCode, getCodeAndName, getCodes, getDescription, getDescriptions, getName, getNames, getOrignalCodeStrings, getVersion, getVersions, hasCode, hasId, hasIdOrName, setDefaultAreaOfUse, setDefaultDescription, setDefaultId, setDefaultName, setDefaultVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

WGS84

public static final GeographicCRS WGS84
A geographic coordinate system using WGS84 datum. This coordinate system use longitude/latitude axis with latitude values increasing north and longitude values increasing east. Angular units are degrees and prime meridian is Greenwich.


WGS84_YX

public static final GeographicCRS WGS84_YX
A geographic coordinate system using WGS84 datum. This coordinate system use longitude/latitude axis with latitude values increasing north and longitude values increasing east. Angular units are degrees and prime meridian is Greenwich.

Constructor Detail

GeographicCRS

public GeographicCRS(GeodeticDatum datum,
                     Axis[] axisOrder,
                     CRSIdentifiable identity)
              throws java.lang.IllegalArgumentException
Parameters:
datum -
axisOrder -
identity -
Throws:
java.lang.IllegalArgumentException - if the axisOrder.length != 2.

GeographicCRS

public GeographicCRS(GeodeticDatum datum,
                     Axis[] axisOrder,
                     CRSCodeType[] codes,
                     java.lang.String[] names,
                     java.lang.String[] versions,
                     java.lang.String[] descriptions,
                     java.lang.String[] areasOfUse)
              throws java.lang.IllegalArgumentException
Parameters:
datum -
axisOrder -
codes -
names -
versions -
descriptions -
areasOfUse -
Throws:
java.lang.IllegalArgumentException - if the axisOrder.length != 2.

GeographicCRS

public GeographicCRS(GeodeticDatum datum,
                     Axis[] axisOrder,
                     CRSCodeType[] codes)
Parameters:
datum -
axisOrder -
codes -

GeographicCRS

public GeographicCRS(GeodeticDatum datum,
                     Axis[] axisOrder,
                     CRSCodeType code,
                     java.lang.String name,
                     java.lang.String version,
                     java.lang.String description,
                     java.lang.String areaOfUse)
Parameters:
datum -
axisOrder -
code -
name -
version -
description -
areaOfUse -

GeographicCRS

public GeographicCRS(GeodeticDatum datum,
                     Axis[] axisOrder,
                     CRSCodeType code,
                     java.lang.String name)
Parameters:
datum -
axisOrder -
code -
name -

GeographicCRS

public GeographicCRS(GeodeticDatum datum,
                     Axis[] axisOrder,
                     CRSCodeType code)
Parameters:
datum -
axisOrder -
code -

GeographicCRS

public GeographicCRS(java.util.List<Transformation> transformations,
                     GeodeticDatum usedDatum,
                     Axis[] axisOrder,
                     CRSIdentifiable id)
Parameters:
transformations -
usedDatum -
axisOrder -
id -
Method Detail

getDimension

public int getDimension()
Specified by:
getDimension in class CoordinateSystem
Returns:
the dimension of this CRS.

getType

public CoordinateSystem.CRSType getType()
Specified by:
getType in class CoordinateSystem
Returns:
one of the *_CRS types defined in this class.


Copyright © 2011. All Rights Reserved.