public class VerticalCRS extends IdentifiableComponent implements CoordinateReferenceSystem
CoordinateReferenceSystem is a
CoordinateReferenceSystem based on a VerticalDatum. It is used to indicate
what is the reference for the vertical ordinate of a 3D point (ex. ellipsoid
surface, world geoid, local geoid...).CoordinateReferenceSystem.Type| Modifier and Type | Field and Description |
|---|---|
static CoordinateSystem |
ALTITUDE_CS
A 1D
CoordinateSystem whose Axis contains the altitude. |
static CoordinateSystem |
HEIGHT_CS
A 1D
CoordinateSystem whose Axis contains the
(ellipsoidal) height. |
DEFAULT, LOCAL, UNKNOWN| Constructor and Description |
|---|
VerticalCRS(Identifier identifier,
VerticalDatum datum)
Create a new VerticalCRS.
|
VerticalCRS(Identifier identifier,
VerticalDatum datum,
CoordinateSystem cs)
Create a new VerticalCRS.
|
| Modifier and Type | Method and Description |
|---|---|
CoordinateSystem |
getCoordinateSystem()
Returns the
CoordinateSystem used by this
CoordinateReferenceSystem. |
VerticalDatum |
getDatum()
Return the
VerticalDatum. |
Projection |
getProjection()
Returns the
Projection to which this
CoordinateReferenceSystem is refering. |
CoordinateReferenceSystem.Type |
getType()
Returns this CoordinateReferenceSystem Type.
|
boolean |
isValid(double[] coord)
Return whether this coord is a valid coord in this
CoordinateReferenceSystem.
|
String |
toString()
Return a String representation of this Datum.
|
String |
toWKT()
Returns a WKT representation of the vertical CRS.
|
addAlias, addRemark, equals, getAliases, getAuthorityKey, getAuthorityName, getCode, getComponent, getIdentifier, getName, getRemarks, getShortName, hashCode, setIdentifier, setRemarks, setShortNameclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAlias, addRemark, getAliases, getAuthorityKey, getAuthorityName, getCode, getName, getRemarks, getShortName, setRemarks, setShortNamepublic static final CoordinateSystem HEIGHT_CS
CoordinateSystem whose Axis contains the
(ellipsoidal) height. The units used by this axis is meter.public static CoordinateSystem ALTITUDE_CS
CoordinateSystem whose Axis contains the altitude.
The units used by this axis is meter.public VerticalCRS(Identifier identifier, VerticalDatum datum, CoordinateSystem cs)
identifier - the identifier of the VerticalCRSdatum - the datum associated with the VerticalCRScs - the coordinate system associated with the VerticalCRSpublic VerticalCRS(Identifier identifier, VerticalDatum datum)
identifier - the identifier of the VerticalCRSdatum - the datum associated with the VerticalCRSpublic Projection getProjection()
CoordinateReferenceSystemProjection to which this
CoordinateReferenceSystem is refering. It returns null if no
projection is defined for this CRS.getProjection in interface CoordinateReferenceSystemCoordinateReferenceSystem.getProjection()public CoordinateReferenceSystem.Type getType()
CoordinateReferenceSystemgetType in interface CoordinateReferenceSystemCoordinateReferenceSystem.getType()public CoordinateSystem getCoordinateSystem()
CoordinateReferenceSystemCoordinateSystem used by this
CoordinateReferenceSystem.getCoordinateSystem in interface CoordinateReferenceSystemCoordinateReferenceSystem.getCoordinateSystem()public VerticalDatum getDatum()
VerticalDatum.getDatum in interface CoordinateReferenceSystempublic boolean isValid(double[] coord)
coord - standard coordinate for this CoordinateReferenceSystem
datums (ex. decimal degrees for geographic datums and meters for vertical
datums).public String toWKT()
toWKT in interface CoordinateReferenceSystempublic String toString()
toString in class IdentifiableComponentCopyright © 2019 CNRS. All rights reserved.