|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.crs.CRS
public class CRS
Represents the name to a CRS
that is not necessarily resolved or resolvable.
Their are two aspects that this class takes care of:
CRSRegistry
. However, for some
operations this is not a necessarily a problem, e.g. a GML document may be read and transformed into Feature
and Geometry
objects.
Field Summary | |
---|---|
static CRS |
EPSG_4326
The commonly used geographic 'EPSG:4326', with axis order X, Y. |
Constructor Summary | |
---|---|
CRS(CoordinateSystem crs)
|
|
CRS(File prj)
Try to read a crs from the given (prj) file which is supposed to define a WKT definition. |
|
CRS(String crsName)
Creates a new CRS instance with a coordinate reference system name. |
Method Summary | |
---|---|
boolean |
equals(Object other)
|
Envelope |
getAreaOfUse()
Returns the area of use, i.e. the domain where this CRSIdentifiable is valid. |
String |
getName()
Returns the string that identifies the CRS . |
CoordinateSystem |
getWrappedCRS()
Returns the corresponding CRS object. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final CRS EPSG_4326
Constructor Detail |
---|
public CRS(String crsName)
CRS
instance with a coordinate reference system name.
crsName
- name of the crs (identification string) or nullpublic CRS(CoordinateSystem crs)
crs
- public CRS(File prj) throws IOException
prj
- a file containing a wkt representation of the coordinate system.
IOException
Method Detail |
---|
public String getName()
CRS
.
public CoordinateSystem getWrappedCRS() throws UnknownCRSException
CRS
object.
UnknownCRSException
public boolean equals(Object other)
equals
in class Object
public Envelope getAreaOfUse() throws UnknownCRSException
CRSIdentifiable
is valid.
null
(-180,-90,180,90) if no such information is available
UnknownCRSException
public String toString()
toString
in class Object
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |