org.cts.op.transformation
Class FrenchGeocentricNTF2RGF

java.lang.Object
  extended by org.cts.IdentifiableComponent
      extended by org.cts.op.AbstractCoordinateOperation
          extended by org.cts.op.transformation.FrenchGeocentricNTF2RGF
All Implemented Interfaces:
Identifiable, CoordinateOperation

public class FrenchGeocentricNTF2RGF
extends AbstractCoordinateOperation

French Geocentric interpolation is a transformation used at IGN-France to transform coordinates from the old local NTF system to the new ETRS-89 compatible RGF93.

It is a geocentric translation which parameters are interpolated on a geographic grid.

Author:
Michaƫl Michaud, Jules Party, Erwan Bocher

Field Summary
static UnitConversion RAD2DD
           
 
Fields inherited from class org.cts.op.AbstractCoordinateOperation
precision
 
Fields inherited from interface org.cts.Identifiable
DEFAULT, LOCAL, UNKNOWN
 
Constructor Summary
FrenchGeocentricNTF2RGF()
          Geocentric translation with parameters interpolated in a grid.
FrenchGeocentricNTF2RGF(String gridPath)
          Geocentric translation with parameters interpolated in a grid.
 
Method Summary
 CoordinateOperation inverse()
          Creates the inverse CoordinateOperation.
 String toString()
          Return a string representation of this transformation.
 double[] transform(double[] coord)
          Transforms NTF Geocentric coordinate into RGF93 geocentric coordinate.
 
Methods inherited from class org.cts.op.AbstractCoordinateOperation
getPrecision
 
Methods inherited from class org.cts.IdentifiableComponent
addAlias, addRemark, equals, getAliases, getAuthorityKey, getAuthorityName, getCode, getComponent, getIdentifier, getName, getRemarks, getShortName, hashCode, setIdentifier, setRemarks, setShortName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.cts.Identifiable
addAlias, addRemark, getAliases, getAuthorityKey, getAuthorityName, getCode, getName, getRemarks, getShortName, setRemarks, setShortName
 

Field Detail

RAD2DD

public static final UnitConversion RAD2DD
Constructor Detail

FrenchGeocentricNTF2RGF

public FrenchGeocentricNTF2RGF(String gridPath)
                        throws Exception
Geocentric translation with parameters interpolated in a grid.

The gride can be found here.

Parameters:
gridPath - url of the geographic grid containing the translation parameters
Throws:
Exception

FrenchGeocentricNTF2RGF

public FrenchGeocentricNTF2RGF()
                        throws Exception
Geocentric translation with parameters interpolated in a grid.

The gride can be found here.

Throws:
Exception
Method Detail

transform

public double[] transform(double[] coord)
                   throws IllegalCoordinateException
Transforms NTF Geocentric coordinate into RGF93 geocentric coordinate.

Specified by:
transform in interface CoordinateOperation
Specified by:
transform in class AbstractCoordinateOperation
Parameters:
coord - coordinate to transform
Returns:
a double array containing the output coordinate
Throws:
IllegalCoordinateException - if coord is not compatible with this CoordinateOperation.

inverse

public CoordinateOperation inverse()
                            throws NonInvertibleOperationException
Creates the inverse CoordinateOperation.

Specified by:
inverse in interface CoordinateOperation
Overrides:
inverse in class AbstractCoordinateOperation
Throws:
NonInvertibleOperationException

toString

public String toString()
Return a string representation of this transformation.

Overrides:
toString in class IdentifiableComponent


Copyright © 2014 IRSTV CNRS-FR-2488. All Rights Reserved.