|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectFormattable
AbstractIdentifiedObject
AbstractDatum
DefaultVerticalDatum
public class DefaultVerticalDatum
A textual description and/or a set of parameters identifying a particular reference level surface used as a zero-height surface. The description includes its position with respect to the Earth for any of the height types recognized by this standard. There are several types of vertical datums, and each may place constraints on the coordinate system axis with which it is combined to create a vertical CRS.
modules/library/referencing (gt-referencing.jar)
Field Summary | |
---|---|
static DefaultVerticalDatum |
ELLIPSOIDAL
Default vertical datum for ellipsoidal heights. |
static DefaultVerticalDatum |
GEOIDAL
Default vertical datum for geoidal heights. |
Fields inherited from class AbstractIdentifiedObject |
---|
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR |
Fields inherited from class Formattable |
---|
SINGLE_LINE |
Fields inherited from interface Datum |
---|
ANCHOR_POINT_KEY, DOMAIN_OF_VALIDITY_KEY, REALIZATION_EPOCH_KEY, SCOPE_KEY |
Fields inherited from interface IdentifiedObject |
---|
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY |
Constructor Summary | |
---|---|
DefaultVerticalDatum(Map<String,?> properties,
VerticalDatumType type)
Constructs a vertical datum from a set of properties. |
|
DefaultVerticalDatum(String name,
VerticalDatumType type)
Constructs a vertical datum from a name. |
|
DefaultVerticalDatum(VerticalDatum datum)
Constructs a new datum with the same values than the specified one. |
Method Summary | |
---|---|
boolean |
equals(AbstractIdentifiedObject object,
boolean compareMetadata)
Compare this vertical datum with the specified object for equality. |
protected String |
formatWKT(Formatter formatter)
Format the inner part of a Well Known Text (WKT) element. |
VerticalDatumType |
getVerticalDatumType()
The type of this vertical datum. |
static VerticalDatumType |
getVerticalDatumTypeFromLegacyCode(int code)
Returns the vertical datum type from a legacy code. |
int |
hashCode()
Returns a hash value for this vertical datum. |
Methods inherited from class AbstractDatum |
---|
getAnchorPoint, getDomainOfValidity, getRealizationEpoch, getScope, getValidArea |
Methods inherited from class AbstractIdentifiedObject |
---|
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatches |
Methods inherited from class Formattable |
---|
toString, toWKT, toWKT, toWKT |
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface Datum |
---|
getAnchorPoint, getDomainOfValidity, getRealizationEpoch, getScope |
Methods inherited from interface IdentifiedObject |
---|
getAlias, getIdentifiers, getName, getRemarks, toWKT |
Field Detail |
---|
public static final DefaultVerticalDatum GEOIDAL
public static final DefaultVerticalDatum ELLIPSOIDAL
Constructor Detail |
---|
public DefaultVerticalDatum(String name, VerticalDatumType type)
name
- The datum name.type
- The type of this vertical datum.public DefaultVerticalDatum(VerticalDatum datum)
datum
- The datum to copy.public DefaultVerticalDatum(Map<String,?> properties, VerticalDatumType type)
properties
- Set of properties. Should contains at least "name"
.type
- The type of this vertical datum.Method Detail |
---|
public VerticalDatumType getVerticalDatumType()
getVerticalDatumType
in interface VerticalDatum
public static VerticalDatumType getVerticalDatumTypeFromLegacyCode(int code)
code
- The legacy vertical datum code.
null
if the code is unrecognized.public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)
equals
in class AbstractDatum
object
- The object to compare to this
.compareMetadata
- true
for performing a strict comparaison, or
false
for comparing only properties relevant to transformations.
true
if both objects are equal.public int hashCode()
equals
(AbstractIdentifiedObject, false)
.
hashCode
in class AbstractIdentifiedObject
protected String formatWKT(Formatter formatter)
formatWKT
in class AbstractDatum
formatter
- The formatter to use.
Formattable.toWKT()
,
Formattable.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |