public class DefaultEngineeringDatum extends AbstractDatum implements EngineeringDatum
Modifier and Type | Field and Description |
---|---|
static DefaultEngineeringDatum |
UNKNOW
Deprecated.
Use UKNONWN instead
|
static DefaultEngineeringDatum |
UNKNOWN
An engineering datum for unknown coordinate reference system.
|
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
SINGLE_LINE
ANCHOR_POINT_KEY, DOMAIN_OF_VALIDITY_KEY, REALIZATION_EPOCH_KEY, SCOPE_KEY
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
Constructor and Description |
---|
DefaultEngineeringDatum(EngineeringDatum datum)
Constructs a new datum with the same values than the specified one.
|
DefaultEngineeringDatum(Map<String,?> properties)
Constructs an engineering datum from a set of properties.
|
DefaultEngineeringDatum(String name)
Constructs an engineering datum from a name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(AbstractIdentifiedObject object,
boolean compareMetadata)
Compare this datum with the specified object for equality.
|
protected String |
formatWKT(Formatter formatter)
Format the inner part of a Well
Known Text (WKT) element.
|
getAnchorPoint, getDomainOfValidity, getRealizationEpoch, getScope, getValidArea
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, hashCode, nameMatches, nameMatches, nameMatches
cleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKT
getAnchorPoint, getDomainOfValidity, getRealizationEpoch, getScope
getAlias, getIdentifiers, getName, getRemarks, toWKT
public static final DefaultEngineeringDatum UNKNOW
public static final DefaultEngineeringDatum UNKNOWN
public DefaultEngineeringDatum(EngineeringDatum datum)
public DefaultEngineeringDatum(String name)
name
- The datum name.public DefaultEngineeringDatum(Map<String,?> properties)
properties
- Set of properties. Should contains at least "name"
.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.protected String formatWKT(Formatter formatter)
formatWKT
in class AbstractDatum
formatter
- The formatter to use.Formattable.toWKT()
,
Formattable.toString()
Copyright © 1996–2019 Geotools. All rights reserved.