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 longSerial number for inter-operability with different versions.Fields inherited from class FranceGeocentricInterpolation
FILE, INTERPOLATION_CRS, PARAMETERS, PRECISION, STANDARD_CT, TX, TY, TZFields inherited from class GeodeticOperation
redimensionedFields inherited from class AbstractProvider
sourceCSType, sourceOnEllipsoid, targetCSType, targetOnEllipsoidFields inherited from class AbstractIdentifiedObject
DEPRECATED_KEY, LOCALE_KEYFields inherited from interface org.opengis.referencing.IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEYFields inherited from interface org.opengis.referencing.operation.OperationMethod
FORMULA_KEY -
Constructor Summary
ConstructorsModifierConstructorDescriptionConstructs a provider.privateMolodenskyInterpolation(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.MathTransformcreateGeodeticTransformation(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 FranceGeocentricInterpolation
createMathTransform, getOrLoad, inverse, isRecognized, loadMethods inherited from class GeodeticOperation
redimension, variant3DMethods inherited from class AbstractProvider
addIdentifierAndLegacy, addNameAndLegacy, builder, createLatitude, createLongitude, createMandatoryLatitude, createScale, createShift, createZeroConstant, getOperationType, recoverableException, resolveAmbiguityMethods inherited from class DefaultOperationMethod
castOrCopy, computeHashCode, equals, formatTo, getFormula, getInterface, getParameters, getSourceDimensions, getTargetDimensions, redimensionMethods inherited from class AbstractIdentifiedObject
castOrCopy, equals, formatTo, getAlias, getDescription, getIdentifiers, getName, getRemarks, hashCode, isDeprecated, isHeuristicMatchForNameMethods inherited from class FormattableObject
print, toString, toString, toWKTMethods 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.FactoryException Invoked byFranceGeocentricInterpolation.createMathTransform(MathTransformFactory, ParameterValueGroup)after all parameters have been processed.- Overrides:
createGeodeticTransformationin classFranceGeocentricInterpolation- Throws:
org.opengis.util.FactoryException
-