|
deegree 2.1 (2007/11/08 09:57 build-328-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 | |
|---|---|
protected |
CoordinateSystem(String name)
e.g. epgs:4326 |
(package private) |
CoordinateSystem(String prefix,
String localName,
URI namespace)
|
(package private) |
CoordinateSystem(String name,
URI namespace)
|
| Method Summary | |
|---|---|
String |
getAsURN()
returns the CRS name as URN. e.g. urn:epsg:crs:4326 or urn:adv:crs:DE_DHDN_3GK2_NW177 |
String |
getCode()
returns the CRSs code. |
int |
getDimension()
|
String |
getIdentifier()
in opposit to getName() this method always returns the prefix of a CRS name in lower
case characters. |
String |
getName()
returns the name of the CRS with - if available - prefix seperated with ':' from the CRS code |
String |
getUnits()
returns the units use by the CRS |
| Methods inherited from class org.deegree.datatypes.QualifiedName |
|---|
equals, getAsString, getFormattedString, getLocalName, getNamespace, getPrefix, getPrefixedName, hashCode, isInNamespace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
CoordinateSystem(String prefix,
String localName,
URI namespace)
prefix - must be not nulllocalName - namespace -
CoordinateSystem(String name,
URI namespace)
name - namespace - protected CoordinateSystem(String name)
name - | Method Detail |
|---|
public String getName()
public String getIdentifier()
getName() this method always returns the prefix of a CRS name in lower
case characters. This method will be used to set CRS for transformation using proj4
getName()public String getCode()
public String getAsURN()
public String getUnits()
public int getDimension()
|
deegree 2.1 (2007/11/08 09:57 build-328-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