|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.referencing.wkt.Formattable
org.geotools.referencing.AbstractIdentifiedObject
org.geotools.referencing.datum.AbstractDatum
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 FormField Summary |
---|
Fields inherited from class org.geotools.referencing.AbstractIdentifiedObject |
---|
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR |
Fields inherited from class org.geotools.referencing.wkt.Formattable |
---|
SINGLE_LINE |
Fields inherited from interface org.opengis.referencing.datum.Datum |
---|
ANCHOR_POINT_KEY, DOMAIN_OF_VALIDITY_KEY, REALIZATION_EPOCH_KEY, SCOPE_KEY |
Fields inherited from interface org.opengis.referencing.IdentifiedObject |
---|
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY |
Constructor Summary | |
---|---|
AbstractDatum(org.opengis.referencing.datum.Datum datum)
Constructs a new datum with the same values than the specified one. |
|
AbstractDatum(java.util.Map<java.lang.String,?> properties)
Constructs a datum from a set of properties. |
Method Summary | |
---|---|
boolean |
equals(AbstractIdentifiedObject object,
boolean compareMetadata)
Compares the specified object with this datum for equality. |
protected java.lang.String |
formatWKT(Formatter formatter)
Format the inner part of a Well Known Text (WKT) element. |
org.opengis.util.InternationalString |
getAnchorPoint()
Description, possibly including coordinates, of the point or points used to anchor the datum to the Earth. |
org.opengis.metadata.extent.Extent |
getDomainOfValidity()
Area or region or timeframe in which this datum is valid. |
java.util.Date |
getRealizationEpoch()
The time after which this datum definition is valid. |
org.opengis.util.InternationalString |
getScope()
Description of domain of usage, or limitations of usage, for which this datum object is valid. |
org.opengis.metadata.extent.Extent |
getValidArea()
Deprecated. Renamed getDomainOfValidity() . |
Methods inherited from class org.geotools.referencing.AbstractIdentifiedObject |
---|
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, hashCode, nameMatches, nameMatches, nameMatches |
Methods inherited from class org.geotools.referencing.wkt.Formattable |
---|
cleanupThreadLocals, toString, toWKT, toWKT, toWKT |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.referencing.IdentifiedObject |
---|
getAlias, getIdentifiers, getName, getRemarks, toWKT |
Constructor Detail |
---|
public AbstractDatum(org.opengis.referencing.datum.Datum datum)
datum
- The datum to copy.public AbstractDatum(java.util.Map<java.lang.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 org.opengis.util.InternationalString getAnchorPoint()
Date
.
getAnchorPoint
in interface org.opengis.referencing.datum.Datum
public java.util.Date getRealizationEpoch()
getRealizationEpoch
in interface org.opengis.referencing.datum.Datum
public org.opengis.metadata.extent.Extent getDomainOfValidity()
getDomainOfValidity
in interface org.opengis.referencing.datum.Datum
public org.opengis.metadata.extent.Extent getValidArea()
getDomainOfValidity()
.
public org.opengis.util.InternationalString getScope()
getScope
in interface org.opengis.referencing.datum.Datum
public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)
equals
in class AbstractIdentifiedObject
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.protected java.lang.String formatWKT(Formatter formatter)
DefaultGeodeticDatum
will
not invokes this parent method, because horizontal datum do not write
the datum type.
formatWKT
in class Formattable
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 |