public class DefaultVerticalCRS extends AbstractSingleCRS implements VerticalCRS
By implication, ellipsoidal heights (h) cannot be captured in a vertical coordinate
reference system. Ellipsoidal heights cannot exist independently, but only as inseparable part of
a 3D coordinate tuple defined in a geographic 3D coordinate reference system. However GeoAPI does
not enforce this rule. This class defines a ELLIPSOIDAL_HEIGHT constant in violation
with ISO 19111; this is considered okay if this constant is used merely as a step toward the
construction of a 3D CRS (for example in a transient state during WKT parsing), or for passing
arguments in methods enforcing type-safety.
| Used with CS type(s) |
|---|
Vertical
|
| Modifier and Type | Field and Description |
|---|---|
static DefaultVerticalCRS |
ELLIPSOIDAL_HEIGHT
Default vertical coordinate reference system using ellipsoidal datum.
|
static DefaultVerticalCRS |
GEOIDAL_HEIGHT
Default vertical coordinate reference system using geoidal datum.
|
datumcoordinateSystemEMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATORSINGLE_LINEDOMAIN_OF_VALIDITY_KEY, SCOPE_KEYALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY| Constructor and Description |
|---|
DefaultVerticalCRS(Map<String,?> properties,
VerticalDatum datum,
VerticalCS cs)
Constructs a vertical CRS from a set of properties.
|
DefaultVerticalCRS(String name,
VerticalDatum datum,
VerticalCS cs)
Constructs a vertical CRS from a name.
|
DefaultVerticalCRS(VerticalCRS crs)
Constructs a new vertical CRS with the same values than the specified one.
|
DefaultVerticalCRS(VerticalDatum datum,
VerticalCS cs)
Constructs a vertical CRS with the same properties than the given datum.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
formatWKT(Formatter formatter)
Format the inner part of a Well
Known Text (WKT) element.
|
VerticalCS |
getCoordinateSystem()
Returns the coordinate system.
|
VerticalDatum |
getDatum()
Returns the datum.
|
int |
hashCode()
Returns a hash value for this geographic CRS.
|
equals, getAxis, getDimensiondistancegetDomainOfValidity, getScope, getValidAreaasSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatchescleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKTgetDomainOfValidity, getScopegetAlias, getIdentifiers, getName, getRemarks, toWKTpublic static final DefaultVerticalCRS ELLIPSOIDAL_HEIGHT
public static final DefaultVerticalCRS GEOIDAL_HEIGHT
DefaultVerticalDatum.GEOIDAL,
DefaultVerticalCS.GRAVITY_RELATED_HEIGHTpublic DefaultVerticalCRS(VerticalCRS crs)
public DefaultVerticalCRS(VerticalDatum datum, VerticalCS cs)
datum - The datum.cs - The coordinate system.public DefaultVerticalCRS(String name, VerticalDatum datum, VerticalCS cs)
name - The name.datum - The datum.cs - The coordinate system.public DefaultVerticalCRS(Map<String,?> properties, VerticalDatum datum, VerticalCS cs)
properties - Set of properties. Should contains at least "name".datum - The datum.cs - The coordinate system.public VerticalCS getCoordinateSystem()
getCoordinateSystem in interface CoordinateReferenceSystemgetCoordinateSystem in interface SingleCRSgetCoordinateSystem in interface VerticalCRSgetCoordinateSystem in class AbstractCRSpublic VerticalDatum getDatum()
getDatum in interface SingleCRSgetDatum in interface VerticalCRSgetDatum in class AbstractSingleCRSpublic int hashCode()
hashCode in class AbstractSingleCRSprotected String formatWKT(Formatter formatter)
formatWKT in class AbstractCRSformatter - The formatter to use."VERT_CS".Formattable.toWKT(),
Formattable.toString()Copyright © 1996–2019 Geotools. All rights reserved.