org.cts.crs
Class Geographic3DCRS

java.lang.Object
  extended by org.cts.IdentifiableComponent
      extended by org.cts.crs.GeodeticCRS
          extended by org.cts.crs.Geographic3DCRS
All Implemented Interfaces:
CoordinateReferenceSystem, Identifiable

public class Geographic3DCRS
extends GeodeticCRS

A Geographic CoordinateReferenceSystem is a reference system based on a GeodeticDatum and a 2D or 3D Ellipsoidal Coordinate System.

Author:
Michaƫl Michaud

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.cts.crs.CoordinateReferenceSystem
CoordinateReferenceSystem.Type
 
Field Summary
static CoordinateSystem LATLONH_DDM_CS
          A 3D CoordinateSystem whose first Axis contains latitude, second Axis contains longitude and third axis contains ellipsoidal height.
static CoordinateSystem LATLONH_GGM_CS
          A 3D CoordinateSystem whose first Axis contains latitude, second Axis contains longitude and third axis contains ellipsoidal height.
static CoordinateSystem LATLONH_RRM_CS
          A 3D CoordinateSystem whose first Axis contains latitude, second Axis contains longitude and third axis contains ellipsoidal height.
static CoordinateSystem LONLATH_DDM_CS
          A 3D CoordinateSystem whose first Axis contains longitude, second Axis contains latitude and third axis contains ellipsoidal height.
static CoordinateSystem LONLATH_GGM_CS
          A 3D CoordinateSystem whose first Axis contains longitude, second Axis contains latitude and third axis contains ellipsoidal height.
static CoordinateSystem LONLATH_RRM_CS
          A 3D CoordinateSystem whose first Axis contains longitude, second Axis contains latitude and third axis contains ellipsoidal height.
 
Fields inherited from class org.cts.crs.GeodeticCRS
coordinateSystem
 
Fields inherited from interface org.cts.Identifiable
DEFAULT, LOCAL, UNKNOWN
 
Constructor Summary
Geographic3DCRS(Identifier identifier, GeodeticDatum datum)
          Create a new Geographic3DCRS.
Geographic3DCRS(Identifier identifier, GeodeticDatum datum, CoordinateSystem coordSys)
          Create a new Geographic3DCRS.
Geographic3DCRS(Identifier identifier, GeodeticDatum datum, Unit unit)
          Create a new Geographic2DCRS.
 
Method Summary
 CoordinateOperation fromGeographicCoordinateConverter()
          Creates a CoordinateOperation object to convert coordinates from a GeographicReferenceSystem based on the same horizonal datum and vertical datum, and using normal SI units in the following order : latitude (rad), longitude (rad) height/altitude (m) to this CoordinateReferenceSystem.
 Projection getProjection()
          Returns the Projection to which this CoordinateReferenceSystem is refering.
 CoordinateReferenceSystem.Type getType()
          Returns this CoordinateReferenceSystem Type.
 CoordinateOperation toGeographicCoordinateConverter()
          Creates a CoordinateOperation object to convert coordinates from this CoordinateReferenceSystem to a GeographicReferenceSystem based on the same horizonal datum and vertical datum, and using normal SI units in the following order : latitude (rad), longitude (rad) height/altitude (m).
 String toWKT()
          Returns a WKT representation of the geographic 3D CRS.
 
Methods inherited from class org.cts.crs.GeodeticCRS
addCRSTransformation, addGridTransformation, equals, getCoordinateSystem, getCRSTransformations, getCRSTransformations, getDatum, getDimension, getGridTransformations, getGridTransformations, hashCode, isValid, toString
 
Methods inherited from class org.cts.IdentifiableComponent
addAlias, addRemark, getAliases, getAuthorityKey, getAuthorityName, getCode, getComponent, getIdentifier, getName, getRemarks, getShortName, setIdentifier, setRemarks, setShortName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.cts.Identifiable
addAlias, addRemark, getAliases, getAuthorityKey, getAuthorityName, getCode, getName, getRemarks, getShortName, setRemarks, setShortName
 

Field Detail

LATLONH_RRM_CS

public static CoordinateSystem LATLONH_RRM_CS
A 3D CoordinateSystem whose first Axis contains latitude, second Axis contains longitude and third axis contains ellipsoidal height. The units used by these axes are radian and meter.


LONLATH_RRM_CS

public static CoordinateSystem LONLATH_RRM_CS
A 3D CoordinateSystem whose first Axis contains longitude, second Axis contains latitude and third axis contains ellipsoidal height. The units used by these axes are radian and meter.


LATLONH_DDM_CS

public static CoordinateSystem LATLONH_DDM_CS
A 3D CoordinateSystem whose first Axis contains latitude, second Axis contains longitude and third axis contains ellipsoidal height. The units used by these axes are decimal degree and meter.


LONLATH_DDM_CS

public static CoordinateSystem LONLATH_DDM_CS
A 3D CoordinateSystem whose first Axis contains longitude, second Axis contains latitude and third axis contains ellipsoidal height. The units used by these axes are decimal degree and meter.


LATLONH_GGM_CS

public static CoordinateSystem LATLONH_GGM_CS
A 3D CoordinateSystem whose first Axis contains latitude, second Axis contains longitude and third axis contains ellipsoidal height. The units used by these axes are grad and meter.


LONLATH_GGM_CS

public static CoordinateSystem LONLATH_GGM_CS
A 3D CoordinateSystem whose first Axis contains longitude, second Axis contains latitude and third axis contains ellipsoidal height. The units used by these axes are grad and meter.

Constructor Detail

Geographic3DCRS

public Geographic3DCRS(Identifier identifier,
                       GeodeticDatum datum,
                       CoordinateSystem coordSys)
Create a new Geographic3DCRS.

Parameters:
identifier - the identifier of the Geographic3DCRS
datum - the datum associated with the Geographic3DCRS
coordSys - the coordinate system associated with the Geographic3DCRS

Geographic3DCRS

public Geographic3DCRS(Identifier identifier,
                       GeodeticDatum datum,
                       Unit unit)
Create a new Geographic2DCRS. The first Axis of the associated CoordinateSystem contains latitude, the second Axis contains longitude and the third contains the ellipsoidal height in meters.

Parameters:
identifier - the identifier of the Geographic3DCRS
datum - the datum associated with the Geographic3DCRS
unit - the angular unit to use for the two first axis of the coordinate system associated with the Geographic3DCRS

Geographic3DCRS

public Geographic3DCRS(Identifier identifier,
                       GeodeticDatum datum)
Create a new Geographic3DCRS. The first Axis of the associated CoordinateSystem contains latitude, the second Axis contains longitude and the third contains the ellipsoidal height in meters.

Parameters:
identifier - the identifier of the Geographic2DCRS
datum - the datum associated with the Geographic2DCRS
Method Detail

getType

public CoordinateReferenceSystem.Type getType()
Description copied from interface: CoordinateReferenceSystem
Returns this CoordinateReferenceSystem Type.

Specified by:
getType in interface CoordinateReferenceSystem
Specified by:
getType in class GeodeticCRS
See Also:
GeodeticCRS.getType()

getProjection

public Projection getProjection()
Description copied from interface: CoordinateReferenceSystem
Returns the Projection to which this CoordinateReferenceSystem is refering. It returns null if no projection is defined for this CRS.

Specified by:
getProjection in interface CoordinateReferenceSystem
Overrides:
getProjection in class GeodeticCRS
See Also:
GeodeticCRS.getProjection()

toGeographicCoordinateConverter

public CoordinateOperation toGeographicCoordinateConverter()
Description copied from class: GeodeticCRS
Creates a CoordinateOperation object to convert coordinates from this CoordinateReferenceSystem to a GeographicReferenceSystem based on the same horizonal datum and vertical datum, and using normal SI units in the following order : latitude (rad), longitude (rad) height/altitude (m).

Specified by:
toGeographicCoordinateConverter in class GeodeticCRS
See Also:
GeodeticCRS.toGeographicCoordinateConverter()

fromGeographicCoordinateConverter

public CoordinateOperation fromGeographicCoordinateConverter()
Description copied from class: GeodeticCRS
Creates a CoordinateOperation object to convert coordinates from a GeographicReferenceSystem based on the same horizonal datum and vertical datum, and using normal SI units in the following order : latitude (rad), longitude (rad) height/altitude (m) to this CoordinateReferenceSystem.

Specified by:
fromGeographicCoordinateConverter in class GeodeticCRS
See Also:
GeodeticCRS.fromGeographicCoordinateConverter()

toWKT

public String toWKT()
Returns a WKT representation of the geographic 3D CRS.

Specified by:
toWKT in interface CoordinateReferenceSystem
Specified by:
toWKT in class GeodeticCRS


Copyright © 2014 IRSTV CNRS-FR-2488. All Rights Reserved.