|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.model.cs.Info
org.deegree_impl.model.cs.CoordinateSystem
org.deegree_impl.model.cs.HorizontalCoordinateSystem
org.deegree_impl.model.cs.GeographicCoordinateSystem
A coordinate system based on latitude and longitude. Some geographic coordinate systems are latitude/longiude, and some are longitude/latitude. You can find out which this is by examining the axes. You should also check the angular units, since not all geographic coordinate systems use degrees.
CS_GeographicCoordinateSystem
,
Serialized FormNested Class Summary | |
private class |
GeographicCoordinateSystem.Export
Wrap a GeographicCoordinateSystem object for use with OpenGIS.
|
Nested classes inherited from class org.deegree_impl.model.cs.Info |
Info.AngularUnit, Info.LinearUnit |
Field Summary | |
private PrimeMeridian |
meridian
The prime meridian. |
private static long |
serialVersionUID
Serial number for interoperability with different versions. |
private Unit |
unit
The angular unit. |
static GeographicCoordinateSystem |
WGS84
A geographic coordinate system using WGS84 datum. |
Fields inherited from class org.deegree_impl.model.cs.HorizontalCoordinateSystem |
|
Fields inherited from class org.deegree_impl.model.cs.Info |
pool |
Constructor Summary | |
(package private) |
GeographicCoordinateSystem(java.util.Map properties,
Unit unit,
HorizontalDatum datum,
PrimeMeridian meridian,
AxisInfo axis0,
AxisInfo axis1)
Creates a geographic coordinate system, which could be latitude/longiude or longitude/latitude. |
|
GeographicCoordinateSystem(java.lang.String name,
HorizontalDatum datum)
Creates a geographic coordinate system. |
|
GeographicCoordinateSystem(java.lang.String name,
Unit unit,
HorizontalDatum datum,
PrimeMeridian meridian,
AxisInfo axis0,
AxisInfo axis1)
Creates a geographic coordinate system, which could be latitude/longiude or longitude/latitude. |
Method Summary | |
(package private) java.lang.String |
addString(java.lang.StringBuffer buffer)
Fill the part inside "[...]". |
boolean |
equivalents(CoordinateSystem cs)
Returns true if this coordinate system is equivalents to
the specified coordinate system. |
Envelope |
getDefaultEnvelope()
Gets default envelope of coordinate system. |
PrimeMeridian |
getPrimeMeridian()
Returns the prime meridian. |
Unit |
getUnits(int dimension)
Gets units for dimension within coordinate system. |
java.util.Set |
getWGS84ConversionInfos()
Gets details on conversions to WGS84. |
(package private) java.lang.Object |
toOpenGIS(java.lang.Object adapters)
Returns an OpenGIS interface for this geographic coordinate system. |
Methods inherited from class org.deegree_impl.model.cs.HorizontalCoordinateSystem |
getAxis, getDatum, getDimension, getHorizontalDatum |
Methods inherited from class org.deegree_impl.model.cs.CoordinateSystem |
checkAxis, equals, getUnits |
Methods inherited from class org.deegree_impl.model.cs.Info |
addUnit, cachedOpenGIS, 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 |
Field Detail |
private static final long serialVersionUID
public static final GeographicCoordinateSystem WGS84
private final Unit unit
private final PrimeMeridian meridian
Constructor Detail |
public GeographicCoordinateSystem(java.lang.String name, HorizontalDatum datum)
name
- Name to give new object.datum
- Horizontal datum for created coordinate system.public GeographicCoordinateSystem(java.lang.String name, Unit unit, HorizontalDatum datum, PrimeMeridian meridian, AxisInfo axis0, AxisInfo axis1)
name
- Name to give new object.unit
- Angular units for created coordinate system.datum
- Horizontal datum for created coordinate system.meridian
- Prime Meridian for created coordinate system.axis0
- Details of 0th ordinates.axis1
- Details of 1st ordinates.GeographicCoordinateSystem(java.util.Map properties, Unit unit, HorizontalDatum datum, PrimeMeridian meridian, AxisInfo axis0, AxisInfo axis1)
properties
- The set of properties (see Info
).unit
- Angular units for created coordinate system.datum
- Horizontal datum for created coordinate system.meridian
- Prime Meridian for created coordinate system.axis0
- Details of 0th ordinates.axis1
- Details of 1st ordinates.Method Detail |
public Unit getUnits(int dimension)
getUnits
in class CoordinateSystem
dimension
- Zero based index of axis.CS_CoordinateSystem.getUnits(int)
public PrimeMeridian getPrimeMeridian()
CS_GeographicCoordinateSystem.getPrimeMeridian()
public Envelope getDefaultEnvelope()
getDefaultEnvelope
in class CoordinateSystem
CS_CoordinateSystem.getDefaultEnvelope()
public java.util.Set getWGS84ConversionInfos()
CS_GeographicCoordinateSystem.getNumConversionToWGS84()
,
CS_GeographicCoordinateSystem.getWGS84ConversionInfo(int)
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.java.lang.String addString(java.lang.StringBuffer buffer)
addString
in class HorizontalCoordinateSystem
final java.lang.Object toOpenGIS(java.lang.Object adapters)
Object
in order
to avoid too early class loading of OpenGIS interface.
toOpenGIS
in class HorizontalCoordinateSystem
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |