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
public interface Conversion extends Operation
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:
Transformation
-
-
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetOperationVersion()This attribute is declared inCoordinateOperationbut is not used in a conversion.CoordinateReferenceSystemgetSourceCRS()Returns the source CRS.CoordinateReferenceSystemgetTargetCRS()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 Detail
-
getSourceCRS
CoordinateReferenceSystem getSourceCRS()
Returns the source CRS. Conversions may have a source CRS that is not specified here, but throughGeneralDerivedCRS.getBaseCRS()instead.- Specified by:
getSourceCRSin interfaceCoordinateOperation- Returns:
- The source CRS, or
nullif not available. - See Also:
getSourceCRS(),Transformation.getSourceCRS()
-
getTargetCRS
CoordinateReferenceSystem getTargetCRS()
Returns the target CRS. Conversions may have a target CRS that is not specified here, but throughGeneralDerivedCRSinstead.- Specified by:
getTargetCRSin interfaceCoordinateOperation- Returns:
- The target CRS, or
nullif not available. - See Also:
getTargetCRS(),Transformation.getTargetCRS()
-
getOperationVersion
String getOperationVersion()
This attribute is declared inCoordinateOperationbut is not used in a conversion.- Specified by:
getOperationVersionin interfaceCoordinateOperation- Returns:
- Always
null.
-
-