|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.referencing.wkt.Formattable org.geotools.referencing.AbstractIdentifiedObject org.geotools.referencing.cs.DefaultCoordinateSystemAxis
Definition of a coordinate system axis. This is used to label axes, and indicate the orientation. See axis name constraints.
In some case, the axis name is constrained by ISO 19111 depending on the coordinate reference system type. These constraints are identified in the javadoc by "ISO 19111 name is..." sentences. This constraint works in two directions; for example the names "geodetic latitude" and "geodetic longitude" shall be used to designate the coordinate axis names associated with a geographic coordinate reference system. Conversely, these names shall not be used in any other context.
AbstractCS
,
Unit
,
Serialized FormField Summary | |
static DefaultCoordinateSystemAxis |
ALTITUDE
The default axis for altitude values. |
static DefaultCoordinateSystemAxis |
COLUMN
A default axis for column indices in a grid coverage. |
static DefaultCoordinateSystemAxis |
DEPTH
The default axis for depth. |
static DefaultCoordinateSystemAxis |
DISPLAY_X
A default axis for x values in a display device. |
static DefaultCoordinateSystemAxis |
DISPLAY_Y
A default axis for y values in a display device. |
static DefaultCoordinateSystemAxis |
EASTING
Default axis info for Easting values in a projected CRS. |
static DefaultCoordinateSystemAxis |
ELLIPSOIDAL_HEIGHT
The default axis for height values above the ellipsoid in a geographic CRS. |
static DefaultCoordinateSystemAxis |
GEOCENTRIC_RADIUS
Default axis info for radius in a geocentric CRS using spherical CS. |
static DefaultCoordinateSystemAxis |
GEOCENTRIC_X
Default axis info for x values in a geocentric CRS using cartesian CS. |
static DefaultCoordinateSystemAxis |
GEOCENTRIC_Y
Default axis info for y values in a geocentric CRS using cartesian CS. |
static DefaultCoordinateSystemAxis |
GEOCENTRIC_Z
Default axis info for z values in a geocentric CRS using cartesian CS. |
static DefaultCoordinateSystemAxis |
GEODETIC_LATITUDE
Default axis info for geodetic latitudes in a geographic CRS. |
static DefaultCoordinateSystemAxis |
GEODETIC_LONGITUDE
Default axis info for geodetic longitudes in a geographic CRS. |
static DefaultCoordinateSystemAxis |
GRAVITY_RELATED_HEIGHT
The default axis for height values measured from gravity. |
static DefaultCoordinateSystemAxis |
LATITUDE
Default axis info for latitudes. |
static DefaultCoordinateSystemAxis |
LONGITUDE
Default axis info for longitudes. |
static DefaultCoordinateSystemAxis |
NORTHING
Default axis info for Northing values in a projected CRS. |
static DefaultCoordinateSystemAxis |
ROW
A default axis for row indices in a grid coverage. |
static DefaultCoordinateSystemAxis |
SOUTHING
Default axis info for Southing values in a projected CRS. |
static DefaultCoordinateSystemAxis |
SPHERICAL_LATITUDE
Default axis info for latitudes in a geocentric CRS using spherical CS. |
static DefaultCoordinateSystemAxis |
SPHERICAL_LONGITUDE
Default axis info for longitudes in a geocentric CRS using spherical CS. |
static DefaultCoordinateSystemAxis |
TIME
A default axis for time values in a time CS. |
static DefaultCoordinateSystemAxis |
WESTING
Default axis info for Westing values in a projected CRS. |
static DefaultCoordinateSystemAxis |
X
Default axis info for x values in a cartesian CS. |
static DefaultCoordinateSystemAxis |
Y
Default axis info for y values in a cartesian CS. |
static DefaultCoordinateSystemAxis |
Z
Default axis info for z values in a cartesian CS. |
Fields inherited from class org.geotools.referencing.AbstractIdentifiedObject |
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR |
Fields inherited from interface org.opengis.referencing.IdentifiedObject |
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY |
Constructor Summary | |
DefaultCoordinateSystemAxis(org.opengis.referencing.cs.CoordinateSystemAxis axis)
Constructs a new coordinate system axis with the same values than the specified one. |
|
DefaultCoordinateSystemAxis(org.opengis.util.InternationalString name,
java.lang.String abbreviation,
org.opengis.referencing.cs.AxisDirection direction,
javax.units.Unit unit)
Constructs an axis with a name as an international string and an abbreviation. |
|
DefaultCoordinateSystemAxis(java.util.Map properties,
java.lang.String abbreviation,
org.opengis.referencing.cs.AxisDirection direction,
javax.units.Unit unit)
Constructs an axis from a set of properties. |
|
DefaultCoordinateSystemAxis(java.lang.String abbreviation,
org.opengis.referencing.cs.AxisDirection direction,
javax.units.Unit unit)
Constructs an axis with the same name as the abbreviation. |
Method Summary | |
boolean |
equals(AbstractIdentifiedObject object,
boolean compareMetadata)
Compares the specified object with this axis for equality. |
protected java.lang.String |
formatWKT(Formatter formatter)
Format the inner part of a Well Known Text (WKT) element. |
java.lang.String |
getAbbreviation()
The abbreviation used for this coordinate system axes. |
org.opengis.referencing.cs.AxisDirection |
getDirection()
Direction of this coordinate system axis. |
static org.opengis.referencing.cs.AxisDirection |
getDirection(java.lang.String direction)
Returns an axis direction constants from its name. |
javax.units.Unit |
getUnit()
The unit of measure used for this coordinate system axis. |
int |
hashCode()
Returns a hash value for this axis. |
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, nameMatches, nameMatches |
Methods inherited from class org.geotools.referencing.wkt.Formattable |
toString, toWKT, toWKT, 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 |
public static final DefaultCoordinateSystemAxis LONGITUDE
LONGITUDE
, LATITUDE
, ALTITUDE
set.
GEODETIC_LONGITUDE
,
SPHERICAL_LONGITUDE
,
LATITUDE
public static final DefaultCoordinateSystemAxis LATITUDE
LONGITUDE
, LATITUDE
, ALTITUDE
set.
GEODETIC_LATITUDE
,
SPHERICAL_LATITUDE
,
LONGITUDE
public static final DefaultCoordinateSystemAxis ALTITUDE
LONGITUDE
, LATITUDE
, ALTITUDE
set.
ELLIPSOIDAL_HEIGHT
,
GEOCENTRIC_RADIUS
,
GRAVITY_RELATED_HEIGHT
,
DEPTH
public static final DefaultCoordinateSystemAxis DEPTH
ALTITUDE
,
ELLIPSOIDAL_HEIGHT
,
GEOCENTRIC_RADIUS
,
GRAVITY_RELATED_HEIGHT
public static final DefaultCoordinateSystemAxis GEODETIC_LONGITUDE
GEODETIC_LONGITUDE
, GEODETIC_LATITUDE
,
ELLIPSOIDAL_HEIGHT
set.
LONGITUDE
,
SPHERICAL_LONGITUDE
,
GEODETIC_LATITUDE
public static final DefaultCoordinateSystemAxis GEODETIC_LATITUDE
GEODETIC_LONGITUDE
, GEODETIC_LATITUDE
,
ELLIPSOIDAL_HEIGHT
set.
LATITUDE
,
SPHERICAL_LATITUDE
,
GEODETIC_LONGITUDE
public static final DefaultCoordinateSystemAxis ELLIPSOIDAL_HEIGHT
GEODETIC_LONGITUDE
, GEODETIC_LATITUDE
,
ELLIPSOIDAL_HEIGHT
set.
ALTITUDE
,
GEOCENTRIC_RADIUS
,
GRAVITY_RELATED_HEIGHT
,
DEPTH
public static final DefaultCoordinateSystemAxis GRAVITY_RELATED_HEIGHT
ALTITUDE
,
ELLIPSOIDAL_HEIGHT
,
GEOCENTRIC_RADIUS
,
DEPTH
public static final DefaultCoordinateSystemAxis GEOCENTRIC_RADIUS
SPHERICAL_LONGITUDE
, SPHERICAL_LATITUDE
,
GEOCENTRIC_RADIUS
set.
ALTITUDE
,
ELLIPSOIDAL_HEIGHT
,
GRAVITY_RELATED_HEIGHT
,
DEPTH
public static final DefaultCoordinateSystemAxis SPHERICAL_LONGITUDE
SPHERICAL_LONGITUDE
, SPHERICAL_LATITUDE
,
GEOCENTRIC_RADIUS
set.
LONGITUDE
,
GEODETIC_LONGITUDE
,
SPHERICAL_LATITUDE
public static final DefaultCoordinateSystemAxis SPHERICAL_LATITUDE
SPHERICAL_LONGITUDE
, SPHERICAL_LATITUDE
,
GEOCENTRIC_RADIUS
set.
LATITUDE
,
GEODETIC_LATITUDE
,
SPHERICAL_LONGITUDE
public static final DefaultCoordinateSystemAxis X
X
, Y
, Z
set.
EASTING
,
WESTING
,
GEOCENTRIC_X
,
DISPLAY_X
,
COLUMN
public static final DefaultCoordinateSystemAxis Y
X
, Y
, Z
set.
NORTHING
,
SOUTHING
,
GEOCENTRIC_Y
,
DISPLAY_Y
,
ROW
public static final DefaultCoordinateSystemAxis Z
X
, Y
, Z
set.
public static final DefaultCoordinateSystemAxis GEOCENTRIC_X
GEOCENTRIC_X
, GEOCENTRIC_Y
,
GEOCENTRIC_Z
set.
public static final DefaultCoordinateSystemAxis GEOCENTRIC_Y
GEOCENTRIC_X
, GEOCENTRIC_Y
,
GEOCENTRIC_Z
set.
public static final DefaultCoordinateSystemAxis GEOCENTRIC_Z
GEOCENTRIC_X
, GEOCENTRIC_Y
,
GEOCENTRIC_Z
set.
public static final DefaultCoordinateSystemAxis EASTING
EASTING
, NORTHING
set.
X
,
EASTING
,
WESTING
public static final DefaultCoordinateSystemAxis WESTING
X
,
EASTING
,
WESTING
public static final DefaultCoordinateSystemAxis NORTHING
EASTING
, NORTHING
set.
Y
,
NORTHING
,
SOUTHING
public static final DefaultCoordinateSystemAxis SOUTHING
Y
,
NORTHING
,
SOUTHING
public static final DefaultCoordinateSystemAxis TIME
public static final DefaultCoordinateSystemAxis COLUMN
public static final DefaultCoordinateSystemAxis ROW
public static final DefaultCoordinateSystemAxis DISPLAY_X
public static final DefaultCoordinateSystemAxis DISPLAY_Y
Constructor Detail |
public DefaultCoordinateSystemAxis(org.opengis.referencing.cs.CoordinateSystemAxis axis)
public DefaultCoordinateSystemAxis(java.util.Map properties, java.lang.String abbreviation, org.opengis.referencing.cs.AxisDirection direction, javax.units.Unit unit)
properties
- Set of properties. Should contains at least "name"
.abbreviation
- The abbreviation used for this
coordinate system axes.direction
- The direction of this coordinate system axis.unit
- The unit of measure used for this coordinate
system axis.public DefaultCoordinateSystemAxis(java.lang.String abbreviation, org.opengis.referencing.cs.AxisDirection direction, javax.units.Unit unit)
abbreviation
- The abbreviation used for this
coordinate system axes.direction
- The direction of this coordinate system axis.unit
- The unit of measure used for this coordinate
system axis.public DefaultCoordinateSystemAxis(org.opengis.util.InternationalString name, java.lang.String abbreviation, org.opengis.referencing.cs.AxisDirection direction, javax.units.Unit unit)
name.toString(null)
. The
same argument is also stored as an alias, which
allows fetching localized versions of the name.
name
- The name of this axis. Also stored as an alias for localization purpose.abbreviation
- The abbreviation used for this
coordinate system axis.direction
- The direction of this coordinate system axis.unit
- The unit of measure used for this coordinate
system axis.Method Detail |
public static org.opengis.referencing.cs.AxisDirection getDirection(java.lang.String direction) throws java.util.NoSuchElementException
direction
- The direction name (e.g. "north", "east", etc.).
java.util.NoSuchElementException
- if the given name is not a know axis direction.public java.lang.String getAbbreviation()
getAbbreviation
in interface org.opengis.referencing.cs.CoordinateSystemAxis
public org.opengis.referencing.cs.AxisDirection getDirection()
Within any set of coordinate system axes, only one of each pair of terms can be used. For earth-fixed coordinate reference systems, this direction is often approximate and intended to provide a human interpretable meaning to the axis. When a geodetic datum is used, the precise directions of the axes may therefore vary slightly from this approximate direction.
Note that an DefaultEngineeringCRS
often requires
specific descriptions of the directions of its coordinate system axes.
getDirection
in interface org.opengis.referencing.cs.CoordinateSystemAxis
public javax.units.Unit getUnit()
getUnit
in interface org.opengis.referencing.cs.CoordinateSystemAxis
public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)
equals
in class AbstractIdentifiedObject
object
- The object to compare to .compareMetadata
- for performing a strict comparaison, or
for comparing only properties relevant to transformations.
public int hashCode()
hashCode
in class AbstractIdentifiedObject
protected java.lang.String formatWKT(Formatter formatter)
toString
method
and looks like AXIS["name",NORTH]
.
formatWKT
in class Formattable
formatter
- The formatter to use.
Formattable.toWKT()
,
Formattable.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |