- All Superinterfaces:
CoordinateReferenceSystem
,IdentifiedObject
,ReferenceSystem
- All Known Subinterfaces:
DerivedCRS
,EngineeringCRS
,GeneralDerivedCRS
,GeocentricCRS
,GeodeticCRS
,GeographicCRS
,ImageCRS
,ParametricCRS
,ProjectedCRS
,TemporalCRS
,VerticalCRS
- All Known Implementing Classes:
SimpleCRS
,SimpleCRS.Geographic
,SimpleCRS.Temporal
,SimpleCRS.Vertical
@Classifier(ABSTRACT)
@UML(identifier="SC_SingleCRS",
specification=ISO_19111)
public interface SingleCRS
extends CoordinateReferenceSystem
Base type of coordinate systems related to an object by a datum.
For geodetic
and vertical datums, the object will be the Earth.
The valid coordinate system type and the datum type are constrained by the CRS type.
For example, GeographicCRS
can be associated only to EllipsoidalCS
and
GeodeticDatum
.
- Since:
- 2.0
- See Also:
-
Field Summary
Fields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
Fields inherited from interface ReferenceSystem
DOMAIN_OF_VALIDITY_KEY, SCOPE_KEY
-
Method Summary
Modifier and TypeMethodDescriptionReturns the coordinate system associated to this CRS.getDatum()
Returns the datum associated directly or indirectly to this CRS.Methods inherited from interface IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
Methods inherited from interface ReferenceSystem
getDomainOfValidity, getScope
-
Method Details
-
getCoordinateSystem
@UML(identifier="coordinateSystem", obligation=MANDATORY, specification=ISO_19111) CoordinateSystem getCoordinateSystem()Returns the coordinate system associated to this CRS.- Specified by:
getCoordinateSystem
in interfaceCoordinateReferenceSystem
- Returns:
- the coordinate system.
-
getDatum
Returns the datum associated directly or indirectly to this CRS. In the case ofGeneralDerivedCRS
, this method returns the datum of the base CRS.- Returns:
- the datum.
- Departure from OGC/ISO abstract specification:
Extension for convenience without introduction of new functionality
The ISO specification declares the datum as absent when the association is indirect. GeoAPI recommends to follow the link to the base CRS for users convenience.
-