org.geotoolkit.referencing.operation
Class DefiningConversion
Object
FormattableObject
AbstractIdentifiedObject
AbstractCoordinateOperation
DefaultSingleOperation
DefaultConversion
DefiningConversion
- All Implemented Interfaces:
- Serializable, Formattable, LenientComparable, IdentifiedObject, Conversion, CoordinateOperation, SingleOperation
@Immutable
public class DefiningConversion
- extends DefaultConversion
A conversion used for the definition of a derived CRS (including projections). This conversion has no source and target CRS, and no math
transform. Those elements are created by the derived CRS itself.
- Since:
- 2.1
- Version:
- 3.00
- Author:
- Martin Desruisseaux (IRD), Matthias Basler
- See Also:
CoordinateOperationFactory.createDefiningConversion(java.util.Map, org.opengis.referencing.operation.OperationMethod, org.opengis.parameter.ParameterValueGroup),
Serialized Form
- Module:
| Methods inherited from class AbstractCoordinateOperation |
computeHashCode, getAccuracy, getAccuracy, getCoordinateOperationAccuracy, getDomainOfValidity, getMathTransform, getOperationVersion, getScope, getSourceCRS, getTargetCRS, getType |
DefiningConversion
public DefiningConversion(String name,
ParameterValueGroup parameters)
- Convenience constructor for creating a defining conversion with a default operation method.
The operation method is assumed two-dimensional.
- Parameters:
name - The conversion name.parameters - The parameter values.- Since:
- 2.2
DefiningConversion
public DefiningConversion(Map<String,?> properties,
OperationMethod method,
ParameterValueGroup parameters)
- Constructs a conversion from a set of parameters.
The properties given in argument follow the same rules than for the
base-class constructor.
- Parameters:
properties - Set of properties. Should contains at least "name".method - The operation method.parameters - The parameter values.
DefiningConversion
public DefiningConversion(Map<String,?> properties,
OperationMethod method,
MathTransform transform)
- Constructs a conversion from a math transform.
The properties given in argument follow the same rules than for the
base-class constructor.
- Parameters:
properties - Set of properties. Should contains at least "name".method - The operation method.transform - Transform from positions in the source CRS
to positions in the target CRS.- Since:
- 2.5
getParameterValues
public ParameterValueGroup getParameterValues()
- Returns the parameter values.
- Specified by:
getParameterValues in interface SingleOperation- Overrides:
getParameterValues in class DefaultSingleOperation
- See Also:
DefaultMathTransformFactory.createParameterizedTransform(ParameterValueGroup),
Parameterized.getParameterValues()
formatWKT
public String formatWKT(Formatter formatter)
- Formats this operation as a pseudo-WKT format. No WKT format were defined for coordinate
operation at the time this method was written. This method may change in any future version
until a standard format is found.
- Specified by:
formatWKT in interface Formattable- Overrides:
formatWKT in class DefaultSingleOperation
- Parameters:
formatter - The formatter to use.
- Returns:
- The WKT element name.
- See Also:
FormattableObject.toWKT(),
FormattableObject.toString()
Copyright © 2009-2011 Geotoolkit.org. All Rights Reserved.