public class AbstractDatum extends AbstractIdentifiedObject implements Datum
A datum can be defined as a set of real points on the earth that have coordinates. The definition of the datum may also include the temporal behavior (such as the rate of change of the orientation of the coordinate axes).
This class is conceptually abstract, even if it is technically possible to
instantiate it. Typical applications should create instances of the most specific subclass with
Default prefix instead. An exception to this rule may occurs when it is not possible to
identify the exact type.
AbstractCS,
AbstractCRS,
Serialized FormEMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATORSINGLE_LINEANCHOR_POINT_KEY, DOMAIN_OF_VALIDITY_KEY, REALIZATION_EPOCH_KEY, SCOPE_KEYALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY| Constructor and Description |
|---|
AbstractDatum(Datum datum)
Constructs a new datum with the same values than the specified one.
|
AbstractDatum(Map<String,?> properties)
Constructs a datum from a set of properties.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(AbstractIdentifiedObject object,
boolean compareMetadata)
Compares the specified object with this datum for equality.
|
protected String |
formatWKT(Formatter formatter)
Format the inner part of a Well
Known Text (WKT) element.
|
InternationalString |
getAnchorPoint()
Description, possibly including coordinates, of the point or points used to anchor the datum
to the Earth.
|
Extent |
getDomainOfValidity()
Area or region or timeframe in which this datum is valid.
|
Date |
getRealizationEpoch()
The time after which this datum definition is valid.
|
InternationalString |
getScope()
Description of domain of usage, or limitations of usage, for which this datum object is
valid.
|
Extent |
getValidArea()
Deprecated.
Renamed
getDomainOfValidity(). |
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, hashCode, nameMatches, nameMatches, nameMatchescleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKTgetAlias, getIdentifiers, getName, getRemarks, toWKTpublic AbstractDatum(Datum datum)
datum - The datum to copy.public AbstractDatum(Map<String,?> properties)
| Property name | Value type | Value given to |
|---|---|---|
"anchorPoint" |
InternationalString or String |
getAnchorPoint() |
"realizationEpoch" |
Date |
getRealizationEpoch() |
"domainOfValidity" |
Extent |
getDomainOfValidity() |
"scope" |
InternationalString or String |
getScope() |
properties - The properties to be given to the identified object.public InternationalString getAnchorPoint()
Date.
getAnchorPoint in interface Datumnull if none.public Date getRealizationEpoch()
getRealizationEpoch in interface Datumnull if not available.public Extent getDomainOfValidity()
getDomainOfValidity in interface Datumnull if not available.public Extent getValidArea()
getDomainOfValidity().public InternationalString getScope()
public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)
equals in class AbstractIdentifiedObjectobject - 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.protected String formatWKT(Formatter formatter)
Note: All subclasses will override this method, but only DefaultGeodeticDatum will
not invokes this parent method, because horizontal datum do not write the
datum type.
formatWKT in class Formattableformatter - The formatter to use.Formattable.toWKT(),
Formattable.toString()Copyright © 1996–2019 Geotools. All rights reserved.