public class DefiningConversion extends DefaultConversion
CoordinateOperationFactory.createDefiningConversion(java.util.Map<java.lang.String, ?>, org.opengis.referencing.operation.OperationMethod, org.opengis.parameter.ParameterValueGroup)
,
Serialized Formmethod
domainOfValidity, EMPTY_ACCURACY_ARRAY, sourceCRS, targetCRS, transform
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
SINGLE_LINE
COORDINATE_OPERATION_ACCURACY_KEY, DOMAIN_OF_VALIDITY_KEY, OPERATION_VERSION_KEY, SCOPE_KEY
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
Constructor and Description |
---|
DefiningConversion(Map<String,?> properties,
OperationMethod method,
MathTransform transform)
Constructs a conversion from a math transform.
|
DefiningConversion(Map<String,?> properties,
OperationMethod method,
ParameterValueGroup parameters)
Constructs a conversion from a set of parameters.
|
DefiningConversion(String name,
ParameterValueGroup parameters)
Convenience constructor for creating a defining conversion with a default operation method.
|
Modifier and Type | Method and Description |
---|---|
protected String |
formatWKT(Formatter formatter)
Format this operation as a pseudo-WKT format.
|
ParameterValueGroup |
getParameterValues()
Returns the parameter values.
|
create
create, equals, getMethod, hashCode
getAccuracy, getAccuracy, getCoordinateOperationAccuracy, getDomainOfValidity, getMathTransform, getOperationVersion, getPositionalAccuracy, getScope, getSourceCRS, getTargetCRS, getType, getValidArea
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatches
cleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKT
getOperationVersion, getSourceCRS, getTargetCRS
getCoordinateOperationAccuracy, getDomainOfValidity, getMathTransform, getScope
getAlias, getIdentifiers, getName, getRemarks, toWKT
public DefiningConversion(String name, ParameterValueGroup parameters)
name
- The conversion name.parameters
- The parameter values.public DefiningConversion(Map<String,?> properties, OperationMethod method, ParameterValueGroup parameters)
AbstractCoordinateOperation
constructor.properties
- Set of properties. Should contains at least "name"
.method
- The operation method.parameters
- The parameter values.public DefiningConversion(Map<String,?> properties, OperationMethod method, MathTransform transform)
AbstractCoordinateOperation
constructor.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.public ParameterValueGroup getParameterValues()
getParameterValues
in interface Operation
getParameterValues
in class DefaultOperation
DefaultMathTransformFactory.createParameterizedTransform(org.opengis.parameter.ParameterValueGroup)
,
AbstractMathTransform.getParameterValues()
protected String formatWKT(Formatter formatter)
formatWKT
in class DefaultOperation
formatter
- The formatter to use.Formattable.toWKT()
,
Formattable.toString()
Copyright © 1996–2019 Geotools. All rights reserved.