|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 | |
---|---|
(package private) |
CoordinateSystem(CoordinateSystem realCRS,
String requestedID)
Creates a CoordinateSystem as a wrapper to the real CRS. |
protected |
CoordinateSystem(String name)
Deprecated. use CoordinateSystem(org.deegree.crs.coordinatesystems.CoordinateSystem, String) |
(package private) |
CoordinateSystem(String prefix,
String localName,
URI namespace)
Deprecated. use CoordinateSystem(org.deegree.crs.coordinatesystems.CoordinateSystem, String) instead |
(package private) |
CoordinateSystem(String name,
URI namespace)
Deprecated. use CoordinateSystem(org.deegree.crs.coordinatesystems.CoordinateSystem, String) |
Method Summary | |
---|---|
boolean |
equals(Object other)
|
String |
getCode()
Deprecated. has no relevance, returns a bogus value. |
CoordinateSystem |
getCRS()
|
int |
getDimension()
|
String |
getIdentifier()
This method returns the requested id (given in the constructor) and not the Identifiable.getIdentifier() which only returns the first
configured id. |
String |
getName()
Deprecated. use getIdentifier() instead |
String |
getPrefixedName()
Since the crs uses a different namespace system as QualifiedName this method only returns the getIdentifier() . |
String |
getUnits()
returns the units of the encapsulated CRS |
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(String prefix, String localName, URI namespace)
CoordinateSystem(org.deegree.crs.coordinatesystems.CoordinateSystem, String)
instead
prefix
- must be not nulllocalName
- namespace
- @Deprecated CoordinateSystem(String name, URI namespace)
CoordinateSystem(org.deegree.crs.coordinatesystems.CoordinateSystem, String)
name
- namespace
- @Deprecated protected CoordinateSystem(String name)
CoordinateSystem(org.deegree.crs.coordinatesystems.CoordinateSystem, String)
name
- CoordinateSystem(CoordinateSystem realCRS, String requestedID)
realCRS
- Method Detail |
---|
@Deprecated public String getName()
getIdentifier()
instead
getIdentifier()
public String getIdentifier()
Identifiable.getIdentifier()
which only returns the first
configured id.
public String getPrefixedName()
QualifiedName
this method only returns the getIdentifier()
.
getPrefixedName
in class QualifiedName
@Deprecated public String getCode()
public String getUnits()
public int getDimension()
public CoordinateSystem getCRS()
public boolean equals(Object other)
equals
in class QualifiedName
|
deegree 2.2 (2008/12/22 11:33 build-3038-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://deegree.sourceforge.net