Class GeocentricTranslation.Provider
- All Implemented Interfaces:
Serializable
,IdentifiedObject
,OperationMethod
,PROJFormattable
- Direct Known Subclasses:
GeocentricTranslation.ProviderSevenParam
- Enclosing class:
- GeocentricTranslation
Base class for geocentric affine transform providers. This base class is the
provider for the "Geocentric translations" operation (EPSG code 9603). The translation terms are the
same for the 2 derived operations, "Position Vector 7-param. transformation" and "Coordinate
Frame rotation".
- Since:
- 2.2
- Author:
- Martin Desruisseaux (IRD)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class MathTransformProvider
MathTransformProvider.Delegate
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParameterDescriptor<Double>
The operation parameter descriptor for the X-axis translation ("dx") parameter value.static final ParameterDescriptor<Double>
The operation parameter descriptor for the Y-axis translation ("dy") parameter value.static final ParameterDescriptor<Double>
The operation parameter descriptor for the Z-axis translation ("dz") parameter value.static final ParameterDescriptor<Integer>
The number of source geographic dimension (2 or 3).static final ParameterDescriptor<Double>
The operation parameter descriptor for the "src_semi_major" optional parameter value.static final ParameterDescriptor<Double>
The operation parameter descriptor for the "src_semi_minor" optional parameter value.static final ParameterDescriptor<Integer>
The number of target geographic dimension (2 or 3).static final ParameterDescriptor<Double>
The operation parameter descriptor for the "tgt_semi_major" optional parameter value.static final ParameterDescriptor<Double>
The operation parameter descriptor for the "tgt_semi_minor" optional parameter value.Fields inherited from class DefaultOperationMethod
sourceDimensions, targetDimensions
Fields inherited from class AbstractIdentifiedObject
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
Fields inherited from class Formattable
SINGLE_LINE
Fields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
Fields inherited from interface OperationMethod
FORMULA_KEY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MathTransform
Creates a math transform from the specified group of parameter values.protected void
fill
(BursaWolfParameters parameters, ParameterValueGroup values) Fill the specified Bursa-Wolf parameters according the specified values.Returns the operation type.Methods inherited from class MathTransformProvider
createDescriptor, createDescriptorGroup, createOptionalDescriptor, doubleValue, ensureValidValues, formatWKT, getParameter, intValue, stringValue, toMap, value
Methods inherited from class DefaultOperationMethod
checkDimensions, equals, formatPROJ, getFormula, getParameters, getSourceDimensions, getTargetDimensions, hashCode
Methods inherited from class AbstractIdentifiedObject
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatches
Methods inherited from class Formattable
cleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKT
Methods inherited from interface IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
-
Field Details
-
SRC_DIM
The number of source geographic dimension (2 or 3). This is a Geotools-specific argument. If presents, an"Ellipsoid_To_Geocentric"
transform will be concatenated before the geocentric translation. -
TGT_DIM
The number of target geographic dimension (2 or 3). This is a Geotools-specific argument. If presents, a"Geocentric_To_Ellipsoid"
transform will be concatenated after the geocentric translation. -
SRC_SEMI_MAJOR
The operation parameter descriptor for the "src_semi_major" optional parameter value. This is a Geotools-specific argument. If presents, an"Ellipsoid_To_Geocentric"
transform will be concatenated before the geocentric translation. Valid values range from 0 to infinity. -
SRC_SEMI_MINOR
The operation parameter descriptor for the "src_semi_minor" optional parameter value. This is a Geotools-specific argument. If presents, an"Ellipsoid_To_Geocentric"
transform will be concatenated before the geocentric translation. Valid values range from 0 to infinity. -
TGT_SEMI_MAJOR
The operation parameter descriptor for the "tgt_semi_major" optional parameter value. This is a Geotools-specific argument. If presents, a"Geocentric_To_Ellipsoid"
transform will be concatenated after the geocentric translation. Valid values range from 0 to infinity. -
TGT_SEMI_MINOR
The operation parameter descriptor for the "tgt_semi_minor" optional parameter value. This is a Geotools-specific argument. If presents, a"Geocentric_To_Ellipsoid"
transform will be concatenated after the geocentric translation. Valid values range from 0 to infinity. -
DX
The operation parameter descriptor for the X-axis translation ("dx") parameter value. Valid values range from -infinity to infinity. Units are meters. -
DY
The operation parameter descriptor for the Y-axis translation ("dy") parameter value. Valid values range from -infinity to infinity. Units are meters. -
DZ
The operation parameter descriptor for the Z-axis translation ("dz") parameter value. Valid values range from -infinity to infinity. Units are meters.
-
-
Constructor Details
-
Provider
public Provider()Constructs a default provider.
-
-
Method Details
-
getOperationType
Returns the operation type.- Overrides:
getOperationType
in classMathTransformProvider
- Returns:
- The GeoAPI interface implemented by this operation.
-
createMathTransform
protected MathTransform createMathTransform(ParameterValueGroup values) throws ParameterNotFoundException Creates a math transform from the specified group of parameter values.- Specified by:
createMathTransform
in classMathTransformProvider
- Parameters:
values
- The group of parameter values.- Returns:
- The created math transform.
- Throws:
ParameterNotFoundException
- if a required parameter was not found.- See Also:
-
fill
Fill the specified Bursa-Wolf parameters according the specified values. This method is invoked automatically bycreateMathTransform(org.geotools.api.parameter.ParameterValueGroup)
.- Parameters:
parameters
- The Bursa-Wold parameters to set.values
- The parameter values to read. Those parameters will not be modified.
-