Interface Conversion
- All Superinterfaces:
CoordinateOperation
,IdentifiedObject
,Operation
,SingleOperation
- All Known Subinterfaces:
ConicProjection
,CylindricalProjection
,PlanarProjection
,Projection
- All Known Implementing Classes:
DefaultConicProjection
,DefaultConversion
,DefaultCylindricalProjection
,DefaultPlanarProjection
,DefaultProjection
,DefiningConversion
An operation on coordinates that does not include any change of Datum. The best-known example of a coordinate
conversion is a map projection. The parameters describing coordinate conversions are defined rather than empirically
derived.
Note that some conversions have no parameters.
- Since:
- GeoAPI 1.0
- Author:
- Martin Desruisseaux (IRD)
- See Also:
-
Field Summary
Fields inherited from interface CoordinateOperation
COORDINATE_OPERATION_ACCURACY_KEY, DOMAIN_OF_VALIDITY_KEY, OPERATION_VERSION_KEY, SCOPE_KEY
Fields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
-
Method Summary
Modifier and TypeMethodDescriptionThis attribute is declared inCoordinateOperation
but is not used in a conversion.Returns the source CRS.Returns the target CRS.Methods inherited from interface CoordinateOperation
getCoordinateOperationAccuracy, getDomainOfValidity, getMathTransform, getScope
Methods inherited from interface IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
Methods inherited from interface Operation
getMethod, getParameterValues
-
Method Details
-
getSourceCRS
CoordinateReferenceSystem getSourceCRS()Returns the source CRS. Conversions may have a source CRS that is not specified here, but throughGeneralDerivedCRS.getBaseCRS()
instead.- Specified by:
getSourceCRS
in interfaceCoordinateOperation
- Returns:
- The source CRS, or
null
if not available. - See Also:
-
getTargetCRS
CoordinateReferenceSystem getTargetCRS()Returns the target CRS. Conversions may have a target CRS that is not specified here, but throughGeneralDerivedCRS
instead.- Specified by:
getTargetCRS
in interfaceCoordinateOperation
- Returns:
- The target CRS, or
null
if not available. - See Also:
-
getOperationVersion
String getOperationVersion()This attribute is declared inCoordinateOperation
but is not used in a conversion.- Specified by:
getOperationVersion
in interfaceCoordinateOperation
- Returns:
- Always
null
.
-