|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cts.IdentifiableComponent
org.cts.crs.GeodeticCRS
org.cts.crs.CompoundCRS
public class CompoundCRS
A compound CoordinateReferenceSystem is a
CoordinateReferenceSystem composed by two distinct
CoordinateReferenceSystem : a GeodeticCRS for 2D
horizontal coordinates and a VerticalCRS for the z
coordinate.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.cts.crs.CoordinateReferenceSystem |
|---|
CoordinateReferenceSystem.Type |
| Field Summary |
|---|
| Fields inherited from class org.cts.crs.GeodeticCRS |
|---|
coordinateSystem |
| Fields inherited from interface org.cts.Identifiable |
|---|
DEFAULT, LOCAL, UNKNOWN |
| Constructor Summary | |
|---|---|
CompoundCRS(Identifier identifier,
GeodeticCRS horizontalCRS,
VerticalCRS verticalCRS)
Create a new GeodeticCRS. |
|
| 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. |
int |
getDimension()
Returns the number of dimensions of the coordinate system. |
List<CoordinateOperation> |
getGridTransformations(GeodeticDatum datum)
Return the list of nadgrids transformation defined for the horizontal CRS of this CompoundCRS that used the datum in parameter as target datum. |
GeodeticCRS |
getHorizontalCRS()
Return the horizonal part of this CoordinateReferenceSystem. |
CoordinateReferenceSystem.Type |
getType()
Return this CoordinateReferenceSystem Type. |
VerticalCRS |
getVerticalCRS()
Return the vertical part of this CoordinateReferenceSystem. |
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 |
toString()
Return a String representation of this Datum. |
String |
toWKT()
Returns a WKT representation of the compound CRS. |
| Methods inherited from class org.cts.crs.GeodeticCRS |
|---|
addCRSTransformation, addGridTransformation, equals, getCoordinateSystem, getCRSTransformations, getCRSTransformations, getDatum, getGridTransformations, getProjection, hashCode, isValid |
| 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 |
| Constructor Detail |
|---|
public CompoundCRS(Identifier identifier,
GeodeticCRS horizontalCRS,
VerticalCRS verticalCRS)
throws CRSException
identifier - the identifier of the CompoundCRShorizontalCRS - the horizontal part of the CompoundCRSverticalCRS - the vertical part of the CompoundCRS
CRSException| Method Detail |
|---|
public CoordinateReferenceSystem.Type getType()
getType in interface CoordinateReferenceSystemgetType in class GeodeticCRSCoordinateReferenceSystem.getType()public GeodeticCRS getHorizontalCRS()
public VerticalCRS getVerticalCRS()
public int getDimension()
getDimension in class GeodeticCRSpublic List<CoordinateOperation> getGridTransformations(GeodeticDatum datum)
getGridTransformations in class GeodeticCRSdatum - the datum that must be a target for returned nadgrid
transformation
public CoordinateOperation toGeographicCoordinateConverter()
throws NonInvertibleOperationException
toGeographicCoordinateConverter in class GeodeticCRSNonInvertibleOperationException
public CoordinateOperation fromGeographicCoordinateConverter()
throws NonInvertibleOperationException
fromGeographicCoordinateConverter in class GeodeticCRSNonInvertibleOperationExceptionpublic String toWKT()
toWKT in interface CoordinateReferenceSystemtoWKT in class GeodeticCRSpublic String toString()
toString in class GeodeticCRS
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||