Class FranceGeocentricInterpolation
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.FranceGeocentricInterpolation
- All Implemented Interfaces:
Serializable,Formattable,MathTransformProvider,Deprecable,LenientComparable,org.opengis.referencing.IdentifiedObject,org.opengis.referencing.operation.OperationMethod
- Direct Known Subclasses:
MolodenskyInterpolation
The provider for "Geocentric translation by Grid Interpolation (IGN)" (EPSG:1087).
This method replaces the deprecated "France geocentric interpolation" (ESPG:9655).
This operation requires a grid file provided by the French mapping agency.
Source: IGN document NTG_88.pdf,
"Grille de paramètres de transformation de coordonnées"
at http://www.ign.fr.
- Since:
- 0.7
- Version:
- 1.3
- Author:
- Simon Reynard (Geomatys), Martin Desruisseaux (Geomatys)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.opengis.parameter.ParameterDescriptor<Path> The operation parameter descriptor for the Geocentric translation file parameter value.static final org.opengis.parameter.ParameterDescriptor<Integer> The operation parameter descriptor for the EPSG code for Interpolation CRS parameter value.static final org.opengis.parameter.ParameterDescriptor<Integer> The operation parameter descriptor for the EPSG code for "standard" CT parameter value.static final doubleGeocentric translation parameters to use as a first guess before to use the grid in France.static final doubleGeocentric translation parameters to use as a first guess before to use the grid in France.static final doubleGeocentric translation parameters to use as a first guess before to use the grid in France.Fields inherited from class org.apache.sis.internal.referencing.provider.AbstractProvider
sourceCSType, sourceOnEllipsoid, targetCSType, targetOnEllipsoidFields inherited from class org.apache.sis.referencing.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.opengis.referencing.operation.MathTransformcreateMathTransform(org.opengis.referencing.operation.MathTransformFactory factory, org.opengis.parameter.ParameterValueGroup values) Creates a transform from the specified group of parameter values.inverse()The inverse ofFranceGeocentricInterpolationis a different operation.static booleanisRecognized(Path file) Returnstrueif the given path seems to be a grid published by the French mapping agency for France.final org.opengis.referencing.operation.OperationMethodredimension(int sourceDimensions, int targetDimensions) Deprecated.ISO 19111:2019 removed source/target dimensions attributes.Methods inherited from class org.apache.sis.internal.referencing.provider.AbstractProvider
getOperationType, resolveAmbiguityMethods inherited from class org.apache.sis.referencing.operation.DefaultOperationMethod
castOrCopy, computeHashCode, equals, formatTo, getFormula, getInterface, getParameters, getSourceDimensions, getTargetDimensions, redimensionMethods inherited from class org.apache.sis.referencing.AbstractIdentifiedObject
castOrCopy, equals, formatTo, getAlias, getDescription, getIdentifiers, getName, getRemarks, hashCode, isDeprecated, isHeuristicMatchForNameMethods inherited from class org.apache.sis.io.wkt.FormattableObject
print, toString, toString, toWKTMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opengis.referencing.IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
-
Field Details
-
TX
public static final double TXGeocentric translation parameters to use as a first guess before to use the grid in France. The values of those parameters are specified by the NTG_88 document and apply only for France. If the geocentric interpolation is used for other area, other parameter values will be needed.The values used by SIS are from source (RGF93) to target (NTF). This is the opposite of the direction defined in NTG_88. Consequently, the signs need to be the opposite of NTG_88 values.
- See Also:
-
TY
public static final double TYGeocentric translation parameters to use as a first guess before to use the grid in France. The values of those parameters are specified by the NTG_88 document and apply only for France. If the geocentric interpolation is used for other area, other parameter values will be needed.The values used by SIS are from source (RGF93) to target (NTF). This is the opposite of the direction defined in NTG_88. Consequently, the signs need to be the opposite of NTG_88 values.
- See Also:
-
TZ
public static final double TZGeocentric translation parameters to use as a first guess before to use the grid in France. The values of those parameters are specified by the NTG_88 document and apply only for France. If the geocentric interpolation is used for other area, other parameter values will be needed.The values used by SIS are from source (RGF93) to target (NTF). This is the opposite of the direction defined in NTG_88. Consequently, the signs need to be the opposite of NTG_88 values.
- See Also:
-
FILE
The operation parameter descriptor for the Geocentric translation file parameter value.
Notes:Parameter names EPSG: Geocentric translation file - Default value:
gr3df97a.txt
- Default value:
-
INTERPOLATION_CRS
The operation parameter descriptor for the EPSG code for Interpolation CRS parameter value.
Notes:Parameter names EPSG: EPSG code for Interpolation CRS EPSG: Interpolation CRS code - No default value
-
STANDARD_CT
The operation parameter descriptor for the EPSG code for "standard" CT parameter value.
Notes:Parameter names EPSG: EPSG code for "standard" CT EPSG: Standard CT code - No default value
-
-
Constructor Details
-
FranceGeocentricInterpolation
public FranceGeocentricInterpolation()Constructs a provider.
-
-
Method Details
-
isRecognized
Returnstrueif the given path seems to be a grid published by the French mapping agency for France. In principle this "France geocentric interpolation" is designed specifically for use with the"gr3df97a.txt"grid, but in fact the Apache SIS implementation should be flexible enough for use with other area.- Parameters:
file- the grid file.- Returns:
trueif the given file looks like a fie from the French mapping agency.
-
inverse
The inverse ofFranceGeocentricInterpolationis a different operation.- Returns:
null.- See Also:
-
createMathTransform
public org.opengis.referencing.operation.MathTransform createMathTransform(org.opengis.referencing.operation.MathTransformFactory factory, org.opengis.parameter.ParameterValueGroup values) throws org.opengis.parameter.ParameterNotFoundException, org.opengis.util.FactoryException Creates a transform from the specified group of parameter values. This method creates the transform from target to source (which is the direction that use the interpolation grid directly without iteration), then inverts the transform.- Parameters:
factory- the factory to use if this constructor needs to create other math transforms.values- the group of parameter values.- Returns:
- the created math transform.
- Throws:
org.opengis.parameter.ParameterNotFoundException- if a required parameter was not found.org.opengis.util.FactoryException- if an error occurred while loading the grid.
-
redimension
@Deprecated public final org.opengis.referencing.operation.OperationMethod redimension(int sourceDimensions, int targetDimensions) Deprecated.ISO 19111:2019 removed source/target dimensions attributes.Returns the elements of the given array at an index computed from the given dimensions.- Overrides:
redimensionin classDefaultOperationMethod- Parameters:
sourceDimensions- the desired number of input dimensions.targetDimensions- the desired number of output dimensions.- Returns:
- the redimensioned operation method, or
nullif none.
-