| org.geotools.referencing.AbstractIdentifiedObject org.geotools.referencing.datum.AbstractDatum org.geotools.referencing.datum.DefaultVerticalDatum
DefaultVerticalDatum | public class DefaultVerticalDatum extends AbstractDatum implements VerticalDatum(Code) | | A textual description and/or a set of parameters identifying a particular reference level
surface used as a zero-height surface. The description includes its position with respect
to the Earth for any of the height types recognized by this standard. There are several
types of vertical datums, and each may place constraints on the
with which it is combined to
create a
.
version: $Id: DefaultVerticalDatum.java 20874 2006-08-07 10:00:01Z jgarnett $ author: Martin Desruisseaux since: 2.1 |
Constructor Summary | |
public | DefaultVerticalDatum(String name, VerticalDatumType type) Constructs a vertical datum from a name. | public | DefaultVerticalDatum(VerticalDatum 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. | public | DefaultVerticalDatum(Map properties, VerticalDatumType type) Constructs a vertical datum from a set of properties. |
Method Summary | |
public boolean | equals(AbstractIdentifiedObject object, boolean compareMetadata) Compare this vertical datum with the specified object for equality.
Parameters: object - The object to compare to this . Parameters: compareMetadata - true for performing a strict comparaison, or false for comparing only properties relevant to transformations. | protected String | formatWKT(Formatter formatter) Format the inner part of a
Well
Known Text (WKT) element.
Parameters: formatter - The formatter to use. | final int | getLegacyDatumType() Returns the legacy code for the datum type. | public VerticalDatumType | getVerticalDatumType() The type of this vertical datum. | public static VerticalDatumType | getVerticalDatumTypeFromLegacyCode(int code) Returns the vertical datum type from a legacy code. | public int | hashCode() Returns a hash value for this vertical datum. |
ELLIPSOIDAL | final public static DefaultVerticalDatum ELLIPSOIDAL(Code) | | Default vertical datum for ellipsoidal heights. Ellipsoidal heights
are measured along the normal to the ellipsoid used in the definition
of horizontal datum.
|
DefaultVerticalDatum | public DefaultVerticalDatum(String name, VerticalDatumType type)(Code) | | Constructs a vertical datum from a name.
Parameters: name - The datum name. Parameters: type - The type of this vertical datum. |
DefaultVerticalDatum | public DefaultVerticalDatum(VerticalDatum datum)(Code) | | 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 |
DefaultVerticalDatum | public DefaultVerticalDatum(Map properties, VerticalDatumType type)(Code) | | Constructs a vertical datum from a set of properties. The properties map is given
unchanged to the
.
Parameters: properties - Set of properties. Should contains at least "name" . Parameters: type - The type of this vertical datum. |
equals | public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)(Code) | | Compare this vertical datum with the specified object for equality.
Parameters: object - The object to compare to this . Parameters: compareMetadata - true for performing a strict comparaison, or false for comparing only properties relevant to transformations. true if both objects are equal. |
formatWKT | protected String formatWKT(Formatter formatter)(Code) | | Format the inner part of a
Well
Known Text (WKT) element.
Parameters: formatter - The formatter to use. The WKT element name, which is "VERT_DATUM" |
getLegacyDatumType | final int getLegacyDatumType()(Code) | | Returns the legacy code for the datum type.
|
getVerticalDatumType | public VerticalDatumType getVerticalDatumType()(Code) | | The type of this vertical datum. Default is “geoidal”.
The type of this vertical datum. |
getVerticalDatumTypeFromLegacyCode | public static VerticalDatumType getVerticalDatumTypeFromLegacyCode(int code)(Code) | | Returns the vertical datum type from a legacy code. The legacy codes were defined in
Coordinate Transformation Services
(OGC 01-009), which also defined the
Well
Known Text (WKT) format. This method is used for WKT parsing.
Parameters: code - The legacy vertical datum code. The vertical datum type, or null if the code is unrecognized. |
hashCode | public int hashCode()(Code) | | Returns a hash value for this vertical datum.
,
and the like are not taken in account. In
other words, two vertical datums will return the same hash value if they
are equal in the sense of
DefaultVerticalDatum.equals equals (AbstractIdentifiedObject, false) .
The hash code value. This value doesn't need to be the samein past or future versions of this class. |
Methods inherited from org.geotools.referencing.AbstractIdentifiedObject | protected static Set asSet(Object[] array)(Code)(Java Doc) protected static void ensureAngularUnit(Unit unit) throws IllegalArgumentException(Code)(Java Doc) protected static void ensureLinearUnit(Unit unit) throws IllegalArgumentException(Code)(Java Doc) protected static void ensureNonNull(String name, Object object) throws IllegalArgumentException(Code)(Java Doc) protected static void ensureNonNull(String name, Object[] array, int index) throws IllegalArgumentException(Code)(Java Doc) protected static void ensureTimeUnit(Unit unit) throws IllegalArgumentException(Code)(Java Doc) final public boolean equals(Object object)(Code)(Java Doc) public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)(Code)(Java Doc) protected static boolean equals(IdentifiedObject object1, IdentifiedObject object2, boolean compareMetadata)(Code)(Java Doc) protected static boolean equals(IdentifiedObject[] array1, IdentifiedObject[] array2, boolean compareMetadata)(Code)(Java Doc) protected static boolean equals(Collection collection1, Collection collection2, boolean compareMetadata)(Code)(Java Doc) public Collection getAlias()(Code)(Java Doc) public ReferenceIdentifier getIdentifier(Citation authority)(Code)(Java Doc) public static ReferenceIdentifier getIdentifier(IdentifiedObject info, Citation authority)(Code)(Java Doc) public Set getIdentifiers()(Code)(Java Doc) public ReferenceIdentifier getName()(Code)(Java Doc) public String getName(Citation authority)(Code)(Java Doc) public static String getName(IdentifiedObject info, Citation authority)(Code)(Java Doc) public static Map getProperties(IdentifiedObject info)(Code)(Java Doc) public static Map getProperties(IdentifiedObject info, Citation authority)(Code)(Java Doc) public InternationalString getRemarks()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public boolean nameMatches(String name)(Code)(Java Doc) public static boolean nameMatches(IdentifiedObject object, String name)(Code)(Java Doc) public static boolean nameMatches(IdentifiedObject o1, IdentifiedObject o2)(Code)(Java Doc)
|
|
|