Class AbridgedMolodensky
java.lang.Object
org.apache.sis.io.wkt.FormattableObject
org.apache.sis.referencing.AbstractIdentifiedObject
org.apache.sis.referencing.operation.DefaultOperationMethod
org.apache.sis.internal.referencing.provider.AbstractProvider
org.apache.sis.internal.referencing.provider.GeodeticOperation
org.apache.sis.internal.referencing.provider.GeocentricAffine
org.apache.sis.internal.referencing.provider.GeocentricAffineBetweenGeographic
org.apache.sis.internal.referencing.provider.AbridgedMolodensky
- All Implemented Interfaces:
Serializable
,Formattable
,MathTransformProvider
,Deprecable
,LenientComparable
,org.opengis.referencing.IdentifiedObject
,org.opengis.referencing.operation.OperationMethod
The provider for "Abridged Molodensky transformation" (EPSG:9605).
This provider constructs transforms between two geographic reference systems without passing though a geocentric one.
This class nevertheless extends
GeocentricAffineBetweenGeographic
because it is an approximation of
GeocentricTranslation3D
.
The translation terms (dx, dy and dz) are common to all authorities. But remaining parameters are specified in different ways depending on the authority:
- EPSG defines "Semi-major axis length difference" and "Flattening difference" parameters.
- OGC rather defines "
src_semi_major
", "src_semi_minor
", "tgt_semi_major
", "tgt_semi_minor
" and "dim
" parameters.
- Since:
- 0.7
- Version:
- 1.3
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sis.internal.referencing.provider.GeocentricAffine
GeocentricAffine.Type
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.opengis.parameter.ParameterDescriptorGroup
The group of all parameters expected by this coordinate operation.private static final long
Serial number for inter-operability with different versions.Fields inherited from class org.apache.sis.internal.referencing.provider.GeocentricAffineBetweenGeographic
DIMENSION, SRC_SEMI_MAJOR, SRC_SEMI_MINOR, TGT_SEMI_MAJOR, TGT_SEMI_MINOR
Fields inherited from class org.apache.sis.internal.referencing.provider.GeocentricAffine
DS, RX, RY, RZ, TX, TY, TZ
Fields inherited from class org.apache.sis.internal.referencing.provider.GeodeticOperation
redimensioned
Fields inherited from class org.apache.sis.internal.referencing.provider.AbstractProvider
sourceCSType, sourceOnEllipsoid, targetCSType, targetOnEllipsoid
Fields inherited from class org.apache.sis.referencing.AbstractIdentifiedObject
DEPRECATED_KEY, LOCALE_KEY
Fields inherited from interface org.opengis.referencing.IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
Fields inherited from interface org.opengis.referencing.operation.OperationMethod
FORMULA_KEY
-
Constructor Summary
ConstructorsModifierConstructorDescriptionConstructs a new provider.private
AbridgedMolodensky
(int sourceDimensions, int targetDimensions, GeodeticOperation[] redimensioned) Constructs a provider for the given dimensions. -
Method Summary
Modifier and TypeMethodDescriptionorg.opengis.referencing.operation.MathTransform
createMathTransform
(org.opengis.referencing.operation.MathTransformFactory factory, org.opengis.parameter.ParameterValueGroup values) Creates an Abridged Molodensky transform from the specified group of parameter values.Methods inherited from class org.apache.sis.internal.referencing.provider.GeocentricAffine
asDatumShift, createParameters
Methods inherited from class org.apache.sis.internal.referencing.provider.GeodeticOperation
inverse, redimension, variant3D
Methods inherited from class org.apache.sis.internal.referencing.provider.AbstractProvider
addIdentifierAndLegacy, addNameAndLegacy, builder, createLatitude, createLongitude, createMandatoryLatitude, createScale, createShift, createZeroConstant, getOperationType, recoverableException, resolveAmbiguity
Methods inherited from class org.apache.sis.referencing.operation.DefaultOperationMethod
castOrCopy, computeHashCode, equals, formatTo, getFormula, getInterface, getParameters, getSourceDimensions, getTargetDimensions, redimension
Methods inherited from class org.apache.sis.referencing.AbstractIdentifiedObject
castOrCopy, equals, formatTo, getAlias, getDescription, getIdentifiers, getName, getRemarks, hashCode, isDeprecated, isHeuristicMatchForName
Methods inherited from class org.apache.sis.io.wkt.FormattableObject
print, toString, toString, toWKT
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opengis.referencing.IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerial number for inter-operability with different versions.- See Also:
-
PARAMETERS
public static final org.opengis.parameter.ParameterDescriptorGroup PARAMETERSThe group of all parameters expected by this coordinate operation.
-
-
Constructor Details
-
AbridgedMolodensky
public AbridgedMolodensky()Constructs a new provider. -
AbridgedMolodensky
private AbridgedMolodensky(int sourceDimensions, int targetDimensions, GeodeticOperation[] redimensioned) Constructs a provider for the given dimensions.- Parameters:
sourceDimensions
- number of dimensions in the source CRS of this operation method.targetDimensions
- number of dimensions in the target CRS of this operation method.redimensioned
- providers for all combinations between 2D and 3D cases, ornull
.
-
-
Method Details
-
createMathTransform
public org.opengis.referencing.operation.MathTransform createMathTransform(org.opengis.referencing.operation.MathTransformFactory factory, org.opengis.parameter.ParameterValueGroup values) throws org.opengis.util.FactoryException Creates an Abridged Molodensky transform from the specified group of parameter values.- Specified by:
createMathTransform
in interfaceMathTransformProvider
- Overrides:
createMathTransform
in classGeocentricAffineBetweenGeographic
- Parameters:
factory
- the factory to use for creating concatenated transforms.values
- the group of parameter values.- Returns:
- the created Abridged Molodensky transform.
- Throws:
org.opengis.util.FactoryException
- if a transform cannot be created.
-