|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.datatypes.QualifiedName org.deegree.model.crs.CoordinateSystem
public class CoordinateSystem
A coordinate system is a mathematical space, where the elements of the space are called positions. Each position is
described by a list of numbers. The length of the list corresponds to the dimension of the coordinate system. So in a
2D coordinate system each position is described by a list containing 2 numbers.
However, in a coordinate system, not all lists of numbers correspond to a position - some lists may be outside the
domain of the coordinate system. For example, in a 2D Lat/Lon coordinate system, the list (91,91) does not correspond
to a position.
Some coordinate systems also have a mapping from the mathematical space into locations in the real world. So in a
Lat/Lon coordinate system, the mathematical position (lat, long) corresponds to a location on the surface of the
Earth. This mapping from the mathematical space into real-world locations is called a Datum.
Constructor Summary | |
---|---|
|
CoordinateSystem(CoordinateSystem realCRS)
|
(package private) |
CoordinateSystem(CoordinateSystem realCRS,
java.lang.String requestedID)
Creates a CoordinateSystem as a wrapper to the real CRS. |
protected |
CoordinateSystem(java.lang.String name)
Deprecated. use CoordinateSystem(org.deegree.crs.coordinatesystems.CoordinateSystem, String) |
(package private) |
CoordinateSystem(java.lang.String prefix,
java.lang.String localName,
java.net.URI namespace)
Deprecated. use CoordinateSystem(org.deegree.crs.coordinatesystems.CoordinateSystem, String) instead |
(package private) |
CoordinateSystem(java.lang.String name,
java.net.URI namespace)
Deprecated. use CoordinateSystem(org.deegree.crs.coordinatesystems.CoordinateSystem, String) |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
|
Unit[] |
getAxisUnits()
|
java.lang.String |
getCode()
Deprecated. has no relevance, returns a bogus value. |
CoordinateSystem |
getCRS()
|
int |
getDimension()
|
java.lang.String |
getIdentifier()
This method returns the requested id (given in the constructor) and not the Identifiable.getIdentifier() which only returns the first
configured id. |
java.lang.String |
getName()
Deprecated. use getIdentifier() instead |
java.lang.String |
getPrefixedName()
Since the crs uses a different namespace system as QualifiedName this method only returns the
getIdentifier() . |
java.lang.String |
getUnits()
Deprecated. this method returns the unit of the fist axis, assuming all axis have the same unit, which is not necessarily so. It is better to use the getAxisUnits() and iterate over all units. |
Methods inherited from class org.deegree.datatypes.QualifiedName |
---|
getAsString, getFormattedString, getLocalName, getNamespace, getPrefix, hashCode, isInNamespace, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
@Deprecated CoordinateSystem(java.lang.String prefix, java.lang.String localName, java.net.URI namespace)
CoordinateSystem(org.deegree.crs.coordinatesystems.CoordinateSystem, String)
instead
prefix
- must be not nulllocalName
- namespace
- @Deprecated CoordinateSystem(java.lang.String name, java.net.URI namespace)
CoordinateSystem(org.deegree.crs.coordinatesystems.CoordinateSystem, String)
name
- namespace
- @Deprecated protected CoordinateSystem(java.lang.String name)
name
- CoordinateSystem(CoordinateSystem realCRS, java.lang.String requestedID)
realCRS
- public CoordinateSystem(CoordinateSystem realCRS)
realCRS
- to wrapMethod Detail |
---|
@Deprecated public java.lang.String getName()
getIdentifier()
instead
getIdentifier()
public java.lang.String getIdentifier()
Identifiable.getIdentifier()
which only returns the first
configured id.
public java.lang.String getPrefixedName()
QualifiedName
this method only returns the
getIdentifier()
.
getPrefixedName
in class QualifiedName
@Deprecated public java.lang.String getCode()
@Deprecated public java.lang.String getUnits()
getAxisUnits()
and iterate over all units.
public Unit[] getAxisUnits()
public int getDimension()
public CoordinateSystem getCRS()
public boolean equals(java.lang.Object other)
equals
in class QualifiedName
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org