|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.cs.Info
org.geotools.cs.CoordinateSystem
AbstractCRS.
Base class for all coordinate systems.
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.
NOTE: This CoordinateSystem class implements the OpenGIS®
Coordinate System specification 1.0, not 2.0. The CoordinateReferenceSystem interface
come from specification 2.0 and appears in the implements clause only as a patch
for anticipating a future transition to OGC spec. 2.0.
CS_CoordinateSystem,
Serialized Form| Field Summary |
| 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 | |
CoordinateSystem(java.lang.CharSequence name)
Deprecated. Constructs a coordinate system. |
|
| Method Summary | |
static CoordinateSystem |
fromGeoAPI(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
Deprecated. Mimic a GeoAPI interface as a legacy implementation. |
abstract AxisInfo |
getAxis(int dimension)
Deprecated. Replaced by AbstractCS.getAxis(int). |
org.opengis.referencing.cs.CoordinateSystem |
getCoordinateSystem()
Deprecated. For compatibility with GeoAPI interfaces. |
org.opengis.referencing.datum.Datum |
getDatum()
Deprecated. For compatibility with GeoAPI interfaces. |
Envelope |
getDefaultEnvelope()
Deprecated. Gets default envelope of coordinate system. |
abstract int |
getDimension()
Deprecated. Replaced by AbstractCS.getDimension(). |
org.opengis.util.InternationalString |
getScope()
Deprecated. For compatibility with GeoAPI interfaces. |
abstract Unit |
getUnits(int dimension)
Deprecated. Replaced by DefaultCoordinateSystemAxis.getUnit(). |
org.opengis.metadata.extent.Extent |
getValidArea()
Deprecated. For compatibility with GeoAPI interfaces. |
| Methods inherited from class org.geotools.cs.Info |
ensureNonNull, equals, equals, getAbbreviation, getAlias, getAlias, getAuthority, getAuthorityCode, getIdentifiers, getName, getRemarks, hashCode, 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 |
| Constructor Detail |
public CoordinateSystem(java.lang.CharSequence name)
name - The coordinate system name.| Method Detail |
public abstract int getDimension()
AbstractCS.getDimension().
getDimension in interface DimensionedCS_CoordinateSystem.getDimension()public abstract AxisInfo getAxis(int dimension)
AbstractCS.getAxis(int).
dimension - Zero based index of axis.CS_CoordinateSystem.getAxis(int)public abstract Unit getUnits(int dimension)
DefaultCoordinateSystemAxis.getUnit().
dimension - Zero based index of axis.CS_CoordinateSystem.getUnits(int)public Envelope getDefaultEnvelope()
CS_CoordinateSystem.getDefaultEnvelope()public org.opengis.referencing.cs.CoordinateSystem getCoordinateSystem()
getCoordinateSystem in interface org.opengis.referencing.crs.CoordinateReferenceSystempublic org.opengis.referencing.datum.Datum getDatum()
public org.opengis.util.InternationalString getScope()
getScope in interface org.opengis.referencing.ReferenceSystempublic org.opengis.metadata.extent.Extent getValidArea()
getValidArea in interface org.opengis.referencing.ReferenceSystem
public static CoordinateSystem fromGeoAPI(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
throws UnsupportedImplementationException
UnsupportedImplementationException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||