|
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.model.csct.cs.Info
org.deegree.model.csct.cs.CoordinateSystem
org.deegree.model.csct.cs.HorizontalCoordinateSystem
org.deegree.model.csct.cs.ProjectedCoordinateSystem
public class ProjectedCoordinateSystem
A 2D cartographic coordinate system. Projected coordinates are the two-dimensional cartesian coordinates typically found on maps and computer displays. The cartesian axes are often called "paper coordinates" or "display coordinates." The conversions from a three-dimensional curvilinear coordinate system (whether ellipsoidal or spherical) to projected coordinates may be assumed to be well known. Examples of projected coordinate systems are: Lambert, Mercator, and transverse Mercator. Conversions to, and conversions between, projected spatial coordinate systems often do not preserve distances, areas and angles.
Field Summary |
---|
Fields inherited from class org.deegree.model.csct.cs.Info |
---|
pool |
Constructor Summary | |
---|---|
ProjectedCoordinateSystem(Map properties,
GeographicCoordinateSystem gcs,
Projection projection,
Unit unit,
AxisInfo axis0,
AxisInfo axis1)
Creates a projected coordinate system using a projection object. |
|
ProjectedCoordinateSystem(String name,
GeographicCoordinateSystem gcs,
Projection projection)
Creates a projected coordinate system using the specified geographic system. |
|
ProjectedCoordinateSystem(String name,
GeographicCoordinateSystem gcs,
Projection projection,
Unit unit,
AxisInfo axis0,
AxisInfo axis1)
Creates a projected coordinate system using a projection object. |
Method Summary | |
---|---|
(package private) String |
addString(StringBuffer buffer)
Fill the part inside "[...]". |
boolean |
equivalents(CoordinateSystem cs)
Returns true if this coordinate system is equivalents to the specified
coordinate system. |
GeographicCoordinateSystem |
getGeographicCoordinateSystem()
Returns the geographic coordinate system. |
Projection |
getProjection()
Gets the projection. |
Unit |
getUnits(int dimension)
Gets units for dimension within coordinate system. |
Methods inherited from class org.deegree.model.csct.cs.HorizontalCoordinateSystem |
---|
getAxis, getDatum, getDimension, getHorizontalDatum |
Methods inherited from class org.deegree.model.csct.cs.CoordinateSystem |
---|
checkAxis, equals, getDefaultEnvelope, getUnits |
Methods inherited from class org.deegree.model.csct.cs.Info |
---|
addString, addUnit, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, getAbbreviation, getAlias, getAuthority, getAuthorityCode, getName, getRemarks, hashCode, readResolve, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProjectedCoordinateSystem(String name, GeographicCoordinateSystem gcs, Projection projection)
name
- Name to give new object.gcs
- Geographic coordinate system to base projection on.projection
- Projection from geographic to projected coordinate system.public ProjectedCoordinateSystem(String name, GeographicCoordinateSystem gcs, Projection projection, Unit unit, AxisInfo axis0, AxisInfo axis1)
name
- Name to give new object.gcs
- Geographic coordinate system to base projection on.projection
- Projection from geographic to projected coordinate system.unit
- Linear units of created PCS.axis0
- Details of 0th ordinates in created PCS coordinates.axis1
- Details of 1st ordinates in created PCS coordinates.ProjectedCoordinateSystem(Map properties, GeographicCoordinateSystem gcs, Projection projection, Unit unit, AxisInfo axis0, AxisInfo axis1)
properties
- The set of properties (see Info
).gcs
- Geographic coordinate system to base projection on.projection
- Projection from geographic to projected coordinate system.unit
- Linear units of created PCS.axis0
- Details of 0th ordinates in created PCS coordinates.axis1
- Details of 1st ordinates in created PCS coordinates.Method Detail |
---|
public GeographicCoordinateSystem getGeographicCoordinateSystem()
public Projection getProjection()
public Unit getUnits(int dimension)
getUnits
in class CoordinateSystem
dimension
- Zero based index of axis.
public boolean equivalents(CoordinateSystem cs)
true
if this coordinate system is equivalents to the specified
coordinate system. Two coordinate systems are considered equivalent if the
CoordinateTransformation
from this
to
cs
would be the identity transform. The default implementation compare datum,
units and axis, but ignore name, alias and other meta-data informations.
equivalents
in class HorizontalCoordinateSystem
cs
- The coordinate system (may be null
).
true
if both coordinate systems are equivalent.String addString(StringBuffer buffer)
addString
in class HorizontalCoordinateSystem
buffer
-
|
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