org.geotools.cs
Class AxisInfo

java.lang.Object
  extended byorg.geotools.cs.AxisInfo
All Implemented Interfaces:
org.opengis.referencing.cs.CoordinateSystemAxis, org.opengis.referencing.IdentifiedObject, java.io.Serializable

Deprecated. Replaced by DefaultCoordinateSystemAxis.

public class AxisInfo
extends java.lang.Object
implements org.opengis.referencing.cs.CoordinateSystemAxis, java.io.Serializable

Details of axis. This is used to label axes, and indicate the orientation.

Version:
$Id: AxisInfo.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux
See Also:
CS_AxisInfo, Serialized Form

Field Summary
static AxisInfo ALTITUDE
          Deprecated. Replaced by DefaultCoordinateSystemAxis.ALTITUDE.
static AxisInfo LATITUDE
          Deprecated. Replaced by DefaultCoordinateSystemAxis.LATITUDE.
static AxisInfo LONGITUDE
          Deprecated. Replaced by DefaultCoordinateSystemAxis.LONGITUDE.
 org.opengis.metadata.Identifier name
          Deprecated. Replaced by AbstractIdentifiedObject.getName().
 AxisOrientation orientation
          Deprecated. Replaced by DefaultCoordinateSystemAxis.getDirection(java.lang.String).
static AxisInfo TIME
          Deprecated. Replaced by DefaultCoordinateSystemAxis.TIME.
static AxisInfo X
          Deprecated. Replaced by DefaultCoordinateSystemAxis.X.
static AxisInfo Y
          Deprecated. Replaced by DefaultCoordinateSystemAxis.Y.
 
Fields inherited from interface org.opengis.referencing.IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
 
Constructor Summary
AxisInfo(java.lang.String name, AxisOrientation orientation)
          Deprecated. Construct an AxisInfo.
 
Method Summary
 boolean equals(java.lang.Object object)
          Deprecated. Compares the specified object with this axis for equality.
 java.lang.String getAbbreviation()
          Deprecated. For compatibility with GeoAPI interfaces.
 java.util.Collection getAlias()
          Deprecated. For compatibility with GeoAPI interfaces.
 org.opengis.referencing.cs.AxisDirection getDirection()
          Deprecated. For compatibility with GeoAPI interfaces.
 java.util.Set getIdentifiers()
          Deprecated. For compatibility with GeoAPI interfaces.
 org.opengis.metadata.Identifier getName()
          Deprecated. Returns the localized name of this axis.
 org.opengis.util.InternationalString getRemarks()
          Deprecated. For compatibility with GeoAPI interfaces.
 javax.units.Unit getUnit()
          Deprecated. For compatibility with GeoAPI interfaces.
 int hashCode()
          Deprecated. Returns a hash value for this axis.
 java.lang.String toString()
          Deprecated. Returns the Well Known Text (WKT) for this axis.
 java.lang.String toWKT()
          Deprecated. For compatibility with GeoAPI interfaces.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

X

public static final AxisInfo X
Deprecated. Replaced by DefaultCoordinateSystemAxis.X.

Default axis info for x values. Increasing ordinates values go East. This is usually used with projected coordinate systems.


Y

public static final AxisInfo Y
Deprecated. Replaced by DefaultCoordinateSystemAxis.Y.

Default axis info for y values. Increasing ordinates values go North. This is usually used with projected coordinate systems.


LONGITUDE

public static final AxisInfo LONGITUDE
Deprecated. Replaced by DefaultCoordinateSystemAxis.LONGITUDE.

Default axis info for longitudes. Increasing ordinates values go East. This is usually used with geographic coordinate systems.


LATITUDE

public static final AxisInfo LATITUDE
Deprecated. Replaced by DefaultCoordinateSystemAxis.LATITUDE.

Default axis info for latitudes. Increasing ordinates values go North. This is usually used with geographic coordinate systems.


ALTITUDE

public static final AxisInfo ALTITUDE
Deprecated. Replaced by DefaultCoordinateSystemAxis.ALTITUDE.

The default axis for altitude values. Increasing ordinates values go up.


TIME

public static final AxisInfo TIME
Deprecated. Replaced by DefaultCoordinateSystemAxis.TIME.

A default axis for time values. Increasing time go toward future.


name

public final org.opengis.metadata.Identifier name
Deprecated. Replaced by AbstractIdentifiedObject.getName().

Human readable name for axis. Possible values are X, Y, Long, Lat or any other short string.

See Also:
CS_AxisInfo.name

orientation

public final AxisOrientation orientation
Deprecated. Replaced by DefaultCoordinateSystemAxis.getDirection(java.lang.String).

Enumerated value for orientation.

See Also:
CS_AxisInfo.orientation
Constructor Detail

AxisInfo

public AxisInfo(java.lang.String name,
                AxisOrientation orientation)
Deprecated. 
Construct an AxisInfo.

Parameters:
name - The axis name. Possible values are X, Y, Long, Lat or any other short string.
orientation - The axis orientation.
Method Detail

getName

public org.opengis.metadata.Identifier getName()
Deprecated. 
Returns the localized name of this axis. The default implementation returns name.

Specified by:
getName in interface org.opengis.referencing.IdentifiedObject
Returns:
The localized string.

getAlias

public java.util.Collection getAlias()
Deprecated. 
For compatibility with GeoAPI interfaces.

Specified by:
getAlias in interface org.opengis.referencing.IdentifiedObject

hashCode

public int hashCode()
Deprecated. 
Returns a hash value for this axis.

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

equals

public boolean equals(java.lang.Object object)
Deprecated. 
Compares the specified object with this axis for equality.


toString

public java.lang.String toString()
Deprecated. 
Returns the Well Known Text (WKT) for this axis. The WKT is part of OpenGIS's specification and looks like AXIS["name",NORTH].


getAbbreviation

public java.lang.String getAbbreviation()
Deprecated. 
For compatibility with GeoAPI interfaces.

Specified by:
getAbbreviation in interface org.opengis.referencing.cs.CoordinateSystemAxis

getDirection

public org.opengis.referencing.cs.AxisDirection getDirection()
Deprecated. 
For compatibility with GeoAPI interfaces.

Specified by:
getDirection in interface org.opengis.referencing.cs.CoordinateSystemAxis

getIdentifiers

public java.util.Set getIdentifiers()
Deprecated. 
For compatibility with GeoAPI interfaces.

Specified by:
getIdentifiers in interface org.opengis.referencing.IdentifiedObject

getRemarks

public org.opengis.util.InternationalString getRemarks()
Deprecated. 
For compatibility with GeoAPI interfaces.

Specified by:
getRemarks in interface org.opengis.referencing.IdentifiedObject

getUnit

public javax.units.Unit getUnit()
Deprecated. 
For compatibility with GeoAPI interfaces.

Specified by:
getUnit in interface org.opengis.referencing.cs.CoordinateSystemAxis

toWKT

public java.lang.String toWKT()
Deprecated. 
For compatibility with GeoAPI interfaces.

Specified by:
toWKT in interface org.opengis.referencing.IdentifiedObject


Copyright © GeoTools. All Rights Reserved.