org.geotools.cs
Class CompoundCoordinateSystem

java.lang.Object
  extended byorg.geotools.cs.Info
      extended byorg.geotools.cs.CoordinateSystem
          extended byorg.geotools.cs.CompoundCoordinateSystem
All Implemented Interfaces:
org.opengis.referencing.crs.CoordinateReferenceSystem, Dimensioned, org.opengis.referencing.IdentifiedObject, org.opengis.referencing.ReferenceSystem, java.io.Serializable

Deprecated. Replaced by DefaultCompoundCRS.

public class CompoundCoordinateSystem
extends CoordinateSystem

An aggregate of two coordinate systems. One of these is usually a two-dimensional coordinate system such as a geographic or a projected coordinate system with a horizontal datum. The other is a one-dimensional coordinate system with a vertical datum.

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

Field Summary
static CompoundCoordinateSystem WGS84
          Deprecated. A default three-dimensional coordinate system for use with geographic coordinates with heights above the ellipsoid.
 
Fields inherited from interface org.opengis.referencing.ReferenceSystem
SCOPE_KEY, VALID_AREA_KEY
 
Fields inherited from interface org.opengis.referencing.IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
 
Constructor Summary
CompoundCoordinateSystem(java.lang.CharSequence name, CoordinateSystem head, CoordinateSystem tail)
          Deprecated. Creates a compound coordinate system.
 
Method Summary
 boolean equals(Info object, boolean compareNames)
          Deprecated. Compare this coordinate system with the specified object for equality.
 AxisInfo getAxis(int dimension)
          Deprecated. Gets axis details for dimension within coordinate system.
 Envelope getDefaultEnvelope()
          Deprecated. Gets default envelope of coordinate system.
 int getDimension()
          Deprecated. Returns the dimension of the coordinate system.
 CoordinateSystem getHeadCS()
          Deprecated. Replaced by DefaultCompoundCRS.getCoordinateReferenceSystems().
 CoordinateSystem getTailCS()
          Deprecated. Replaced by DefaultCompoundCRS.getCoordinateReferenceSystems().
 Unit getUnits(int dimension)
          Deprecated. Gets units for dimension within coordinate system.
 int hashCode()
          Deprecated. Returns a hash value for this coordinate system.
 
Methods inherited from class org.geotools.cs.CoordinateSystem
fromGeoAPI, getCoordinateSystem, getDatum, getScope, getValidArea
 
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
 
Methods inherited from interface org.opengis.referencing.IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
 

Field Detail

WGS84

public static final CompoundCoordinateSystem WGS84
Deprecated. 
A default three-dimensional coordinate system for use with geographic coordinates with heights above the ellipsoid. The head coordinate system is GeographicCoordinateSystem.WGS84 and the tail coordinate system is VerticalCoordinateSystem.ELLIPSOIDAL.

Constructor Detail

CompoundCoordinateSystem

public CompoundCoordinateSystem(java.lang.CharSequence name,
                                CoordinateSystem head,
                                CoordinateSystem tail)
Deprecated. 
Creates a compound coordinate system.

Parameters:
name - Name to give new object.
head - Coordinate system to use for earlier ordinates.
tail - Coordinate system to use for later ordinates.
See Also:
CS_CoordinateSystemFactory.createCompoundCoordinateSystem(java.lang.String, org.opengis.cs.CS_CoordinateSystem, org.opengis.cs.CS_CoordinateSystem)
Method Detail

getHeadCS

public CoordinateSystem getHeadCS()
Deprecated. Replaced by DefaultCompoundCRS.getCoordinateReferenceSystems().

Returns the first sub-coordinate system.

See Also:
CS_CompoundCoordinateSystem.getHeadCS()

getTailCS

public CoordinateSystem getTailCS()
Deprecated. Replaced by DefaultCompoundCRS.getCoordinateReferenceSystems().

Returns the second sub-coordinate system.

See Also:
CS_CompoundCoordinateSystem.getTailCS()

getDimension

public int getDimension()
Deprecated. 
Returns the dimension of the coordinate system.

Specified by:
getDimension in interface Dimensioned
Specified by:
getDimension in class CoordinateSystem
See Also:
CS_CoordinateSystem.getDimension()

getAxis

public AxisInfo getAxis(int dimension)
Deprecated. 
Gets axis details for dimension within coordinate system. Each dimension in the coordinate system has a corresponding axis.

Specified by:
getAxis in class CoordinateSystem
Parameters:
dimension - Zero based index of axis.
See Also:
CS_CoordinateSystem.getAxis(int)

getUnits

public Unit getUnits(int dimension)
Deprecated. 
Gets units for dimension within coordinate system. Each dimension in the coordinate system has corresponding units.

Specified by:
getUnits in class CoordinateSystem
Parameters:
dimension - Zero based index of axis.
See Also:
CS_CoordinateSystem.getUnits(int)

getDefaultEnvelope

public Envelope getDefaultEnvelope()
Deprecated. 
Gets default envelope of coordinate system.

Overrides:
getDefaultEnvelope in class CoordinateSystem
See Also:
CS_CoordinateSystem.getDefaultEnvelope()

equals

public boolean equals(Info object,
                      boolean compareNames)
Deprecated. 
Compare this coordinate system with the specified object for equality.

Overrides:
equals in class Info
Parameters:
object - The object to compare to this.
compareNames - true to comparare the name, alias, authority code, etc. as well, or false to compare only properties relevant to transformations.
Returns:
true if both objects are equal.

hashCode

public int hashCode()
Deprecated. 
Returns a hash value for this coordinate system. Name, alias, authority code and the like are not taken in account. In other words, two coordinate systems will return the same hash value if they are equal in the sense of equals(Info, false).

Overrides:
hashCode in class Info
Returns:
The hash code value. This value doesn't need to be the same in past or future versions of this class.


Copyright © GeoTools. All Rights Reserved.