|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectFormattableObject
AbstractIdentifiedObject
AbstractDatum
@Immutable public class AbstractDatum
Specifies the relationship of a coordinate system to the earth, thus creating a coordinate reference system. A datum uses a parameter or set of parameters that determine the location of the origin of the coordinate reference system. Each datum subtype can be associated with only specific types of coordinate systems.
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 Form
| referencing/geotk-referencing (download) | View source code for this class |
| Field Summary |
|---|
| Fields inherited from class FormattableObject |
|---|
EPSG, GEOTIFF, INTERNAL, OGC, 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 | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object,
ComparisonMode mode)
Compares the specified object with this datum for equality. |
String |
formatWKT(Formatter formatter)
Formats 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. |
| Methods inherited from class AbstractIdentifiedObject |
|---|
computeHashCode, equals, getAlias, getIdentifier, getIdentifiers, getName, getName, getRemarks, hashCode, nameMatches |
| Methods inherited from class FormattableObject |
|---|
getDefaultIndentation, print, setDefaultIndentation, toString, toWKT, toWKT, toWKT |
| Methods inherited from class Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface IdentifiedObject |
|---|
getAlias, getIdentifiers, getName, getRemarks, toWKT |
| Constructor Detail |
|---|
public 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.| Method Detail |
|---|
public InternationalString getAnchorPoint()
Date.
getAnchorPoint in interface Datumpublic Date getRealizationEpoch()
getRealizationEpoch in interface Datumpublic Extent getDomainOfValidity()
getDomainOfValidity in interface Datumpublic InternationalString getScope()
getScope in interface Datum
public boolean equals(Object object,
ComparisonMode mode)
equals in interface LenientComparableequals in class AbstractIdentifiedObjectobject - The object to compare to this.mode - STRICT for performing a strict comparison, or
IGNORE_METADATA for comparing only properties
relevant to transformations.
true if both objects are equal.public String formatWKT(Formatter formatter)
Note:
All subclasses will override this method, but only DefaultGeodeticDatum
will not invoke this parent method, because horizontal datum do not
write the datum type.
formatWKT in interface FormattableformatWKT in class FormattableObjectformatter - The formatter to use.
FormattableObject.toWKT(),
FormattableObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||