org.geotools.referencing.datum
Class DefaultEngineeringDatum
java.lang.Object
org.geotools.referencing.wkt.Formattable
org.geotools.referencing.AbstractIdentifiedObject
org.geotools.referencing.datum.AbstractDatum
org.geotools.referencing.datum.DefaultEngineeringDatum
- All Implemented Interfaces:
- org.opengis.referencing.datum.Datum, org.opengis.referencing.datum.EngineeringDatum, org.opengis.referencing.IdentifiedObject, java.io.Serializable
- public class DefaultEngineeringDatum
- extends AbstractDatum
- implements org.opengis.referencing.datum.EngineeringDatum
Defines the origin of an engineering coordinate reference system. An engineering datum is used
in a region around that origin. This origin can be fixed with respect to the earth (such as a
defined point at a construction site), or be a defined point on a moving vehicle (such as on a
ship or satellite).
- Since:
- 2.1
- Version:
- $Id: DefaultEngineeringDatum.java 17672 2006-01-19 00:25:55Z desruisseaux $
- Author:
- Martin Desruisseaux
- See Also:
- Serialized Form
Fields inherited from interface org.opengis.referencing.datum.Datum |
ANCHOR_POINT_KEY, REALIZATION_EPOCH_KEY, SCOPE_KEY, VALID_AREA_KEY |
Fields inherited from interface org.opengis.referencing.IdentifiedObject |
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY |
Constructor Summary |
DefaultEngineeringDatum(org.opengis.referencing.datum.EngineeringDatum datum)
Constructs a new datum with the same values than the specified one.
|
DefaultEngineeringDatum(java.util.Map properties)
Constructs an engineering datum from a set of properties. |
DefaultEngineeringDatum(java.lang.String name)
Constructs an engineering datum from a name. |
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 |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.referencing.datum.Datum |
getAnchorPoint, getRealizationEpoch, getScope, getValidArea |
Methods inherited from interface org.opengis.referencing.IdentifiedObject |
getAlias, getIdentifiers, getName, getRemarks, toWKT |
UNKNOW
public static final DefaultEngineeringDatum UNKNOW
- An engineering datum for unknow coordinate reference system. Such CRS are usually
assumed cartesian, but will not have any transformation path to other CRS.
- See Also:
DefaultEngineeringCRS.CARTESIAN_2D
,
DefaultEngineeringCRS.CARTESIAN_3D
DefaultEngineeringDatum
public DefaultEngineeringDatum(org.opengis.referencing.datum.EngineeringDatum datum)
- Constructs a new datum with the same values than the specified one.
This copy constructor provides a way to wrap an arbitrary implementation into a
Geotools one or a user-defined one (as a subclass), usually in order to leverage
some implementation-specific API. This constructor performs a shallow copy,
i.e. the properties are not cloned.
- Since:
- 2.2
DefaultEngineeringDatum
public DefaultEngineeringDatum(java.lang.String name)
- Constructs an engineering datum from a name.
- Parameters:
name
- The datum name.
DefaultEngineeringDatum
public DefaultEngineeringDatum(java.util.Map properties)
- Constructs an engineering datum from a set of properties. The properties map is given
unchanged to the super-class constructor.
- Parameters:
properties
- Set of properties. Should contains at least "name"
.
equals
public boolean equals(AbstractIdentifiedObject object,
boolean compareMetadata)
- Compare this datum with the specified object for equality.
- Overrides:
equals
in class AbstractDatum
- Parameters:
object
- The object to compare to .compareMetadata
- for performing a strict comparaison, or
for comparing only properties relevant to transformations.
- Returns:
- if both objects are equal.
formatWKT
protected java.lang.String formatWKT(Formatter formatter)
- Format the inner part of a
Well
Known Text (WKT) element.
- Overrides:
formatWKT
in class AbstractDatum
- Parameters:
formatter
- The formatter to use.
- Returns:
- The WKT element name, which is "LOCAL_DATUM"
Copyright © GeoTools. All Rights Reserved.