- All Superinterfaces:
CoordinateOperation,IdentifiedObject,SingleOperation
- All Known Subinterfaces:
ConicProjection,CylindricalProjection,PlanarProjection,Projection
@UML(identifier="Conversion",
specification=ISO_19111)
public interface Conversion
extends SingleOperation
Operation in which the parameter values are defined rather than empirically derived.
Coordinate conversions are coordinate operations that make use of exact,
defined (rather than measured or computed), and therefore error-free parameter values.
Corresponding pairs of coordinate tuples in each of the two coordinate reference systems
connected through a coordinate conversion have a fixed arithmetic relationship.
Additionally one of the two tuples cannot exist without specification of the coordinate conversion
and the source coordinate reference system.
Coordinate conversions are therefore intimately related to the concept of
Derived CRS.
Examples
The best-known examples of coordinate conversions are map projections. A map projection is a conversion from an ellipsoidal coordinate system to a Cartesian coordinate system in CRSs associated to the same datum. Another example is the change of units such as from radians to degrees or feet to meters.- Since:
- 1.0
- See Also:
-
Field Summary
Fields inherited from interface org.opengis.referencing.operation.CoordinateOperation
COORDINATE_OPERATION_ACCURACY_KEY, DOMAIN_OF_VALIDITY_KEY, OPERATION_VERSION_KEY, SCOPE_KEYFields inherited from interface org.opengis.referencing.IdentifiedObject
ALIAS_KEY, DOMAINS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY -
Method Summary
Modifier and TypeMethodDescriptiondefault StringThis attribute is inherited fromCoordinateOperationbut is not applicable in a conversion.Returns the CRS from which coordinates are changed.This attribute is inherited fromCoordinateOperationbut is not applicable in a conversion.Returns the CRS to which coordinates are changed.This attribute is inherited fromCoordinateOperationbut is not applicable in a conversion.Methods inherited from interface org.opengis.referencing.operation.CoordinateOperation
getCoordinateOperationAccuracy, getDomainOfValidity, getInterpolationCRS, getMathTransform, getScope, transformMethods inherited from interface org.opengis.referencing.IdentifiedObject
getAlias, getDomains, getIdentifiers, getName, getRemarks, toWKTMethods inherited from interface org.opengis.referencing.operation.SingleOperation
getMethod, getParameterValues
-
Method Details
-
getSourceCRS
@UML(identifier="sourceCRS", obligation=OPTIONAL, specification=ISO_19111) CoordinateReferenceSystem getSourceCRS()Returns the CRS from which coordinates are changed. If this conversion is part of a derived CRS, then the source CRS should be the same as theDerivedCRS.getBaseCRS()value.Obligation
ISO 19111 declares this property as optional because its value can be inferred from theDerivedCRS.getBaseCRS()property. However, GeoAPI recommends to provide a non-null value anyway, except for defining conversions.- Specified by:
getSourceCRSin interfaceCoordinateOperation- Returns:
- the CRS from which coordinates are changed, or
nullif not available. - See Also:
-
getTargetCRS
@UML(identifier="targetCRS", obligation=OPTIONAL, specification=ISO_19111) CoordinateReferenceSystem getTargetCRS()Returns the CRS to which coordinates are changed. If this conversion is part of a derived CRS, then the target CRS should be the same as theDerivedCRSinstance.Obligation
ISO 19111 declares this property as optional because its value can be inferred from theDerivedCRS. However, GeoAPI recommends to provide a non-null value anyway, except for defining conversions.- Specified by:
getTargetCRSin interfaceCoordinateOperation- Returns:
- the CRS to which coordinates are changed, or
nullif not available. - See Also:
-
getSourceEpoch
@UML(identifier="sourceCoordinateEpoch", obligation=FORBIDDEN, specification=ISO_19111) default Optional<Temporal> getSourceEpoch()This attribute is inherited fromCoordinateOperationbut is not applicable in a conversion.- Specified by:
getSourceEpochin interfaceCoordinateOperation- Returns:
- always empty.
- Since:
- 3.1
- See Also:
-
getTargetEpoch
@UML(identifier="targetCoordinateEpoch", obligation=FORBIDDEN, specification=ISO_19111) default Optional<Temporal> getTargetEpoch()This attribute is inherited fromCoordinateOperationbut is not applicable in a conversion.- Specified by:
getTargetEpochin interfaceCoordinateOperation- Returns:
- always empty.
- Since:
- 3.1
- See Also:
-
getOperationVersion
@UML(identifier="operationVersion", obligation=FORBIDDEN, specification=ISO_19111) default String getOperationVersion()This attribute is inherited fromCoordinateOperationbut is not applicable in a conversion.- Specified by:
getOperationVersionin interfaceCoordinateOperation- Returns:
- should be empty.
-