org.geotoolkit.referencing.operation.provider
Class NTv2
Object
FormattableObject
AbstractIdentifiedObject
DefaultOperationMethod
MathTransformProvider
NTv2
- All Implemented Interfaces:
- Serializable, Deprecable, LenientComparable, Formattable, IdentifiedObject, OperationMethod
public class NTv2
- extends MathTransformProvider
The provider for "National Transformation" version 2 (ESPG:9615).
The math transform implementations instantiated by this provider may be any of
the following classes:
The following table summarizes the parameters recognized by this provider.
For a more detailed parameter list, see the PARAMETERS constant.
Operation name: NTv2
| Parameter name | Default value |
Latitude and longitude difference file | |
Grid data
This transform requires data that are not bundled by default with Geotk. Run the
geotk-setup module
for downloading and installing the grid data.
- Since:
- 3.12
- Version:
- 3.20
- Author:
- Simon Reynard (Geomatys), Martin Desruisseaux (Geomatys)
- See Also:
- Geotk coordinate operations matrix,
Serialized Form
- Module:
|
Constructor Summary |
NTv2()
Constructs a provider. |
DIFFERENCE_FILE
@Deprecated
public static final ParameterDescriptor<String> DIFFERENCE_FILE
- Deprecated. Invoke
PARAMETERS.descriptor(String) instead.- The operation parameter descriptor for the Latitude and longitude difference file
parameter value. The file extension is typically
".gsb". There is no default value.
PARAMETERS
public static final ParameterDescriptorGroup PARAMETERS
- The group of all parameters expected by this coordinate operation.
The following table lists the operation names and the parameters recognized by Geotk.
Note that the file extension for the parameter is typically
".gsb".
| Name: | EPSG: | NTv2 |
| Identifier: | EPSG: | 9615 |
|
| Name: | EPSG: | Latitude and longitude difference file |
|
| Type: | String |
| Obligation: | mandatory |
|
NTv2
public NTv2()
- Constructs a provider.
getOperationType
public Class<Transformation> getOperationType()
- Returns the operation type.
- Overrides:
getOperationType in class MathTransformProvider
- Returns:
- The GeoAPI interface implemented by this operation.
createMathTransform
protected MathTransform createMathTransform(ParameterValueGroup values)
throws FactoryException
- Creates a math transform from the specified group of parameter values.
- Specified by:
createMathTransform in class MathTransformProvider
- Parameters:
values - The group of parameter values.
- Returns:
- The created math transform.
- Throws:
FactoryException - If the grid files can not be loaded.
Copyright © 2009-2013 Geotoolkit.org. All Rights Reserved.