org.geotools.cs
Class LocalDatum

java.lang.Object
  extended byorg.geotools.cs.Info
      extended byorg.geotools.cs.Datum
          extended byorg.geotools.cs.LocalDatum
All Implemented Interfaces:
org.opengis.referencing.IdentifiedObject, java.io.Serializable

Deprecated. Replaced by DefaultEngineeringDatum.

public class LocalDatum
extends Datum

Local datum. If two local datum objects have the same datum type and name, then they can be considered equal. This means that coordinates can be transformed between two different local coordinate systems, as long as they are based on the same local datum.

Version:
$Id: LocalDatum.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
OpenGIS (www.opengis.org), Martin Desruisseaux
See Also:
CS_LocalDatum, Serialized Form

Field Summary
static LocalDatum UNKNOW
          Deprecated. A local datum for unknow coordinate system.
 
Fields inherited from interface org.opengis.referencing.IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
 
Constructor Summary
LocalDatum(java.lang.CharSequence name, DatumType.Local type)
          Deprecated. Creates a local datum.
 
Method Summary
 DatumType getDatumType()
          Deprecated. Gets the type of the datum as an enumerated code.
 
Methods inherited from class org.geotools.cs.Datum
equals, hashCode
 
Methods inherited from class org.geotools.cs.Info
ensureNonNull, equals, getAbbreviation, getAlias, getAlias, getAuthority, getAuthorityCode, getIdentifiers, getName, getRemarks, toString, toWKT
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOW

public static final LocalDatum UNKNOW
Deprecated. 
A local datum for unknow coordinate system. Such coordinate system are usually assumed cartesian, but will not have any transformation path to other CS.

See Also:
DatumType.UNKNOW, LocalCoordinateSystem.CARTESIAN, LocalCoordinateSystem.PROMISCUOUS
Constructor Detail

LocalDatum

public LocalDatum(java.lang.CharSequence name,
                  DatumType.Local type)
Deprecated. 
Creates a local datum.

Parameters:
name - Name to give new object.
type - Type of local datum to create.
See Also:
CS_CoordinateSystemFactory.createLocalDatum(java.lang.String, org.opengis.cs.CS_DatumType)
Method Detail

getDatumType

public DatumType getDatumType()
Deprecated. 
Gets the type of the datum as an enumerated code. Note: return type will be changed to DatumType.Local when we are able to use generic types (with JDK 1.5).

Overrides:
getDatumType in class Datum
See Also:
CS_Datum.getDatumType()


Copyright © GeoTools. All Rights Reserved.