org.deegree.cs.coordinatesystems
Class GeographicCRS

java.lang.Object
  extended by org.deegree.cs.CRSIdentifiable
      extended by org.deegree.cs.coordinatesystems.CRS
          extended by org.deegree.cs.coordinatesystems.GeographicCRS
All Implemented Interfaces:
Object, TypedObjectNode, ICRS, IGeographicCRS, CRSResource

public class GeographicCRS
extends CRS
implements IGeographicCRS

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

Version:
$Revision: 29642 $, $Date: 2011-02-11 13:59:33 +0100 (Fri, 11 Feb 2011) $
Author:
Rutger Bezema, last edited by: $Author: lbuesching $

Nested Class Summary
 
Nested classes/interfaces inherited from class org.deegree.cs.coordinatesystems.CRS
CRS.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(IGeodeticDatum datum, IAxis[] axisOrder, CRSCodeType code)
           
GeographicCRS(IGeodeticDatum datum, IAxis[] axisOrder, CRSCodeType[] codes)
           
GeographicCRS(IGeodeticDatum datum, IAxis[] axisOrder, CRSCodeType[] codes, String[] names, String[] versions, String[] descriptions, String[] areasOfUse)
           
GeographicCRS(IGeodeticDatum datum, IAxis[] axisOrder, CRSCodeType code, String name)
           
GeographicCRS(IGeodeticDatum datum, IAxis[] axisOrder, CRSCodeType code, String name, String version, String description, String areaOfUse)
           
GeographicCRS(IGeodeticDatum datum, IAxis[] axisOrder, CRSResource identity)
           
GeographicCRS(List<Transformation> transformations, IGeodeticDatum usedDatum, IAxis[] axisOrder, CRSResource id)
           
 
Method Summary
 int getDimension()
           
 CRS.CRSType getType()
           
 
Methods inherited from class org.deegree.cs.coordinatesystems.CRS
convertToAxis, equals, equalsWithFlippedAxis, getAlias, 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, getId, 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
 
Methods inherited from interface org.deegree.cs.coordinatesystems.ICRS
convertToAxis, equalsWithFlippedAxis, getAlias, getAxis, getDatum, getDirectTransformation, getEasting, getGeodeticDatum, getNorthing, getTransformations, getUnits, getValidDomain, hasDirectTransformation
 
Methods inherited from interface org.deegree.cs.CRSResource
addAreaOfUse, addName, getAreaOfUse, getAreaOfUseBBox, getAreasOfUse, getCode, getCodeAndName, getCodes, getDescription, getDescriptions, getName, getNames, getOrignalCodeStrings, getVersion, getVersions, hasCode, hasId, hasIdOrName, setDefaultAreaOfUse, setDefaultDescription, setDefaultId, setDefaultName, setDefaultVersion
 
Methods inherited from interface org.deegree.commons.tom.Object
getId
 

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(IGeodeticDatum datum,
                     IAxis[] axisOrder,
                     CRSResource identity)
              throws IllegalArgumentException
Parameters:
datum -
axisOrder -
identity -
Throws:
IllegalArgumentException - if the axisOrder.length != 2.

GeographicCRS

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

GeographicCRS

public GeographicCRS(IGeodeticDatum datum,
                     IAxis[] axisOrder,
                     CRSCodeType[] codes)
Parameters:
datum -
axisOrder -
codes -

GeographicCRS

public GeographicCRS(IGeodeticDatum datum,
                     IAxis[] axisOrder,
                     CRSCodeType code,
                     String name,
                     String version,
                     String description,
                     String areaOfUse)
Parameters:
datum -
axisOrder -
code -
name -
version -
description -
areaOfUse -

GeographicCRS

public GeographicCRS(IGeodeticDatum datum,
                     IAxis[] axisOrder,
                     CRSCodeType code,
                     String name)
Parameters:
datum -
axisOrder -
code -
name -

GeographicCRS

public GeographicCRS(IGeodeticDatum datum,
                     IAxis[] axisOrder,
                     CRSCodeType code)
Parameters:
datum -
axisOrder -
code -

GeographicCRS

public GeographicCRS(List<Transformation> transformations,
                     IGeodeticDatum usedDatum,
                     IAxis[] axisOrder,
                     CRSResource id)
Parameters:
transformations -
usedDatum -
axisOrder -
id -
Method Detail

getDimension

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

getType

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


Copyright © 2011. All Rights Reserved.