|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.cs.Info org.geotools.cs.CoordinateSystem org.geotools.cs.HorizontalCoordinateSystem org.geotools.cs.GeographicCoordinateSystem
DefaultGeographicCRS
.
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 FormField Summary | |
static GeographicCoordinateSystem |
WGS84
Deprecated. A geographic coordinate system using WGS84 datum. |
Fields inherited from interface org.opengis.referencing.ReferenceSystem |
SCOPE_KEY, VALID_AREA_KEY |
Fields inherited from interface org.opengis.referencing.IdentifiedObject |
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY |
Constructor Summary | |
GeographicCoordinateSystem(java.lang.CharSequence name,
HorizontalDatum datum)
Deprecated. Creates a geographic coordinate system. |
|
GeographicCoordinateSystem(java.lang.CharSequence name,
Unit unit,
HorizontalDatum datum,
PrimeMeridian meridian,
AxisInfo axis0,
AxisInfo axis1)
Deprecated. Creates a geographic coordinate system, which could be latitude/longiude or longitude/latitude. |
Method Summary | |
boolean |
equals(Info object,
boolean compareNames)
Deprecated. Compare this coordinate system with the specified object for equality. |
Envelope |
getDefaultEnvelope()
Deprecated. Gets default envelope of coordinate system. |
PrimeMeridian |
getPrimeMeridian()
Deprecated. Replaced by DefaultGeodeticDatum.getPrimeMeridian() . |
Unit |
getUnits(int dimension)
Deprecated. Replaced by DefaultCoordinateSystemAxis.getUnit() . |
java.util.Set |
getWGS84ConversionInfos()
Deprecated. Gets details on conversions to WGS84. |
int |
hashCode()
Deprecated. Returns a hash value for this coordinate system. |
Methods inherited from class org.geotools.cs.HorizontalCoordinateSystem |
getAxis, getDimension, getHorizontalDatum |
Methods inherited from class org.geotools.cs.CoordinateSystem |
fromGeoAPI, getCoordinateSystem, getDatum, getScope, getValidArea |
Methods inherited from class org.geotools.cs.Info |
ensureNonNull, equals, getAbbreviation, getAlias, getAlias, getAuthority, getAuthorityCode, getIdentifiers, getName, getRemarks, toString, toWKT |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.referencing.IdentifiedObject |
getAlias, getIdentifiers, getName, getRemarks, toWKT |
Field Detail |
public static final GeographicCoordinateSystem WGS84
Constructor Detail |
public GeographicCoordinateSystem(java.lang.CharSequence name, HorizontalDatum datum)
name
- Name to give new object.datum
- Horizontal datum for created coordinate system.public GeographicCoordinateSystem(java.lang.CharSequence 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.CS_CoordinateSystemFactory.createGeographicCoordinateSystem(java.lang.String, org.opengis.cs.CS_AngularUnit, org.opengis.cs.CS_HorizontalDatum, org.opengis.cs.CS_PrimeMeridian, org.opengis.cs.CS_AxisInfo, org.opengis.cs.CS_AxisInfo)
Method Detail |
public Unit getUnits(int dimension)
DefaultCoordinateSystemAxis.getUnit()
.
getUnits
in class CoordinateSystem
dimension
- Zero based index of axis.CS_CoordinateSystem.getUnits(int)
public PrimeMeridian getPrimeMeridian()
DefaultGeodeticDatum.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 equals(Info object, boolean compareNames)
equals
in class HorizontalCoordinateSystem
object
- The object to compare to this
.compareNames
- true
to comparare the name,
alias, authority
code, etc. as well, or false
to compare only properties
relevant to transformations.
true
if both objects are equal.public int hashCode()
equals
(Info, false)
.
hashCode
in class HorizontalCoordinateSystem
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |