Class MolodenskyInterpolation
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.FranceGeocentricInterpolation
org.apache.sis.internal.referencing.provider.MolodenskyInterpolation
- All Implemented Interfaces:
Serializable
,Formattable
,MathTransformProvider
,Deprecable
,LenientComparable
,org.opengis.referencing.IdentifiedObject
,org.opengis.referencing.operation.OperationMethod
An approximation of geocentric interpolations which uses
InterpolatedMolodenskyTransform
instead of InterpolatedGeocentricTransform
.
This operation method is not standard, and as of SIS 0.7 not yet registered in the operation methods
provided by DefaultMathTransformFactory
.
This class extends FranceGeocentricInterpolation
for now because the latter is currently
the only operation performing interpolation in the geocentric domain.
However, this class hierarchy may be revisited in any future SIS version.
- Since:
- 0.7
- Version:
- 0.7
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
Serial number for inter-operability with different versions.Fields inherited from class org.apache.sis.internal.referencing.provider.FranceGeocentricInterpolation
FILE, INTERPOLATION_CRS, PARAMETERS, PRECISION, STANDARD_CT, 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 provider.private
MolodenskyInterpolation
(int sourceDimensions, int targetDimensions, org.opengis.parameter.ParameterDescriptorGroup parameters, GeodeticOperation[] redimensioned) Constructs a provider for the given number of dimensions. -
Method Summary
Modifier and TypeMethodDescription(package private) org.opengis.referencing.operation.MathTransform
createGeodeticTransformation
(org.opengis.referencing.operation.MathTransformFactory factory, org.opengis.referencing.datum.Ellipsoid source, org.opengis.referencing.datum.Ellipsoid target, boolean withHeights, DatumShiftGridFile<javax.measure.quantity.Angle, javax.measure.quantity.Length> grid) Invoked byFranceGeocentricInterpolation.createMathTransform(MathTransformFactory, ParameterValueGroup)
after all parameters have been processed.Methods inherited from class org.apache.sis.internal.referencing.provider.FranceGeocentricInterpolation
createMathTransform, getOrLoad, inverse, isRecognized, load
Methods inherited from class org.apache.sis.internal.referencing.provider.GeodeticOperation
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:
-
-
Constructor Details
-
MolodenskyInterpolation
public MolodenskyInterpolation()Constructs a provider. -
MolodenskyInterpolation
private MolodenskyInterpolation(int sourceDimensions, int targetDimensions, org.opengis.parameter.ParameterDescriptorGroup parameters, GeodeticOperation[] redimensioned) Constructs a provider for the given number of 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.parameters
- description of parameters expected by this operation.redimensioned
- providers for all combinations between 2D and 3D cases, ornull
.
-
-
Method Details
-
createGeodeticTransformation
org.opengis.referencing.operation.MathTransform createGeodeticTransformation(org.opengis.referencing.operation.MathTransformFactory factory, org.opengis.referencing.datum.Ellipsoid source, org.opengis.referencing.datum.Ellipsoid target, boolean withHeights, DatumShiftGridFile<javax.measure.quantity.Angle, javax.measure.quantity.Length> grid) throws org.opengis.util.FactoryExceptionInvoked byFranceGeocentricInterpolation.createMathTransform(MathTransformFactory, ParameterValueGroup)
after all parameters have been processed.- Overrides:
createGeodeticTransformation
in classFranceGeocentricInterpolation
- Throws:
org.opengis.util.FactoryException
-