- java.lang.Object
-
- org.arakhne.afc.gis.coordinate.GISCoordinates
-
public final class GISCoordinates extends Object
Utilities to convert GIS coordinates.Details on the algorithms are in NTG_71.pdf.
- Since:
- 14.0
- Version:
- 17.0 2020-01-04 14:41:53
- Author:
- Stéphane GALLAND
- See Also:
- "./doc-files/NTG_71.pdf"
- Maven Group Id:
- org.arakhne.afc.gis
- Maven Artifact Id:
- giscore
-
-
Field Summary
Fields Modifier and Type Field Description static double
DEMI_NTF_E
DemiNTF_E
.static double
EPSILON
Epsilon constant from the IGN specifications.static double
LAMBERT_1_C
France Lambert I Constant c.static double
LAMBERT_1_N
France Lambert I Constant n.static double
LAMBERT_1_XS
France Lambert I Constant Xs.static double
LAMBERT_1_YS
France Lambert I Constant Ys.static double
LAMBERT_2_C
France Lambert II Constant c.static double
LAMBERT_2_N
France Lambert II Constant n.static double
LAMBERT_2_XS
France Lambert II Constant Xs.static double
LAMBERT_2_YS
France Lambert II Constant Ys.static double
LAMBERT_2E_C
Extended France Lambert II Constant c.static double
LAMBERT_2E_N
Extended France Lambert II Constant n.static double
LAMBERT_2E_XS
Extended France Lambert II Constant Xs.static double
LAMBERT_2E_YS
Extended France Lambert II Constant Ys.static double
LAMBERT_3_C
France Lambert III Constant c.static double
LAMBERT_3_N
France Lambert III Constant n.static double
LAMBERT_3_XS
France Lambert III Constant Xs.static double
LAMBERT_3_YS
France Lambert III Constant Ys.static double
LAMBERT_4_C
France Lambert IV Constant c.static double
LAMBERT_4_N
France Lambert IV Constant n.static double
LAMBERT_4_XS
France Lambert IV Constant Xs.static double
LAMBERT_4_YS
France Lambert IV Constant Ys.static double
LAMBERT_93_C
France Lambert 93 Constant c.static double
LAMBERT_93_N
France Lambert 93 Constant n.static double
LAMBERT_93_XS
France Lambert 93 Constant Xs.static double
LAMBERT_93_YS
France Lambert 93 Constant Ys.static double
NTF_E
The value of the e constant in the NTF specification.static double
WSG84_E
The value of the e constant in the WSG94 specification.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Point2d
EL2_L1(double x, double y)
This function convert extended France Lambert II coordinate to France Lambert I coordinate.static Point2d
EL2_L2(double x, double y)
This function convert extended France Lambert II coordinate to France Lambert II coordinate.static Point2d
EL2_L3(double x, double y)
This function convert extended France Lambert II coordinate to France Lambert III coordinate.static Point2d
EL2_L4(double x, double y)
This function convert extended France Lambert II coordinate to France Lambert IV coordinate.static Point2d
EL2_L93(double x, double y)
This function convert extended France Lambert II coordinate to France Lambert 93 coordinate.static GeodesicPosition
EL2_WSG84(double x, double y)
This function convert extended France Lambert II coordinate to geographic WSG84 Data.static Point2d
L1_EL2(double x, double y)
This function convert France Lambert I coordinate to extended France Lambert II coordinate.static Point2d
L1_L2(double x, double y)
This function convert France Lambert I coordinate to France Lambert II coordinate.static Point2d
L1_L3(double x, double y)
This function convert France Lambert I coordinate to France Lambert III coordinate.static Point2d
L1_L4(double x, double y)
This function convert France Lambert I coordinate to France Lambert IV coordinate.static Point2d
L1_L93(double x, double y)
This function convert France Lambert I coordinate to France Lambert 93 coordinate.static GeodesicPosition
L1_WSG84(double x, double y)
This function convert France Lambert I coordinate to geographic WSG84 Data.static Point2d
L2_EL2(double x, double y)
This function convert France Lambert II coordinate to extended France Lambert II coordinate.static Point2d
L2_L1(double x, double y)
This function convert France Lambert II coordinate to France Lambert I coordinate.static Point2d
L2_L3(double x, double y)
This function convert France Lambert II coordinate to France Lambert III coordinate.static Point2d
L2_L4(double x, double y)
This function convert France Lambert II coordinate to France Lambert IV coordinate.static Point2d
L2_L93(double x, double y)
This function convert France Lambert II coordinate to France Lambert 93 coordinate.static GeodesicPosition
L2_WSG84(double x, double y)
This function convert France Lambert II coordinate to geographic WSG84 Data.static Point2d
L3_EL2(double x, double y)
This function convert France Lambert III coordinate to extended France Lambert II coordinate.static Point2d
L3_L1(double x, double y)
This function convert France Lambert III coordinate to France Lambert I coordinate.static Point2d
L3_L2(double x, double y)
This function convert France Lambert III coordinate to France Lambert II coordinate.static Point2d
L3_L4(double x, double y)
This function convert France Lambert III coordinate to France Lambert IV coordinate.static Point2d
L3_L93(double x, double y)
This function convert France Lambert III coordinate to France Lambert 93 coordinate.static GeodesicPosition
L3_WSG84(double x, double y)
This function convert France Lambert III coordinate to geographic WSG84 Data.static Point2d
L4_EL2(double x, double y)
This function convert France Lambert IV coordinate to extended France Lambert II coordinate.static Point2d
L4_L1(double x, double y)
This function convert France Lambert IV coordinate to France Lambert I coordinate.static Point2d
L4_L2(double x, double y)
This function convert France Lambert IV coordinate to France Lambert II coordinate.static Point2d
L4_L3(double x, double y)
This function convert France Lambert IV coordinate to France Lambert III coordinate.static Point2d
L4_L93(double x, double y)
This function convert France Lambert IV coordinate to France Lambert 93 coordinate.static GeodesicPosition
L4_WSG84(double x, double y)
This function convert France Lambert IV coordinate to geographic WSG84 Data.static Point2d
L93_EL2(double x, double y)
This function convert France Lambert 93 coordinate to extended France Lambert II coordinate.static Point2d
L93_L1(double x, double y)
This function convert France Lambert 93 coordinate to France Lambert I coordinate.static Point2d
L93_L2(double x, double y)
This function convert France Lambert 93 coordinate to France Lambert II coordinate.static Point2d
L93_L3(double x, double y)
This function convert France Lambert 93 coordinate to France Lambert III coordinate.static Point2d
L93_L4(double x, double y)
This function convert France Lambert 93 coordinate to France Lambert IV coordinate.static GeodesicPosition
L93_WSG84(double x, double y)
This function convert France Lambert 93 coordinate to geographic WSG84 Data.static Point2d
WSG84_EL2(double lambda, double phi)
This function convert WSG84 GPS coordinate to extended France Lambert II coordinate.static Point2d
WSG84_L1(double lambda, double phi)
This function convert WSG84 GPS coordinate to France Lambert I coordinate.static Point2d
WSG84_L2(double lambda, double phi)
This function convert WSG84 GPS coordinate to France Lambert II coordinate.static Point2d
WSG84_L3(double lambda, double phi)
This function convert WSG84 GPS coordinate to France Lambert III coordinate.static Point2d
WSG84_L4(double lambda, double phi)
This function convert WSG84 GPS coordinate to France Lambert IV coordinate.static Point2d
WSG84_L93(double lambda, double phi)
This function convert WSG84 GPS coordinate to France Lambert 93 coordinate.
-
-
-
Field Detail
-
EPSILON
public static final double EPSILON
Epsilon constant from the IGN specifications.- See Also:
- Constant Field Values
-
NTF_E
public static final double NTF_E
The value of the e constant in the NTF specification.- See Also:
- Constant Field Values
-
DEMI_NTF_E
public static final double DEMI_NTF_E
DemiNTF_E
.- See Also:
- Constant Field Values
-
WSG84_E
public static final double WSG84_E
The value of the e constant in the WSG94 specification.- See Also:
- Constant Field Values
-
LAMBERT_1_N
public static final double LAMBERT_1_N
France Lambert I Constant n.- See Also:
- Constant Field Values
-
LAMBERT_1_C
public static final double LAMBERT_1_C
France Lambert I Constant c.- See Also:
- Constant Field Values
-
LAMBERT_1_XS
public static final double LAMBERT_1_XS
France Lambert I Constant Xs.- See Also:
- Constant Field Values
-
LAMBERT_1_YS
public static final double LAMBERT_1_YS
France Lambert I Constant Ys.- See Also:
- Constant Field Values
-
LAMBERT_2_N
public static final double LAMBERT_2_N
France Lambert II Constant n.- See Also:
- Constant Field Values
-
LAMBERT_2_C
public static final double LAMBERT_2_C
France Lambert II Constant c.- See Also:
- Constant Field Values
-
LAMBERT_2_XS
public static final double LAMBERT_2_XS
France Lambert II Constant Xs.- See Also:
- Constant Field Values
-
LAMBERT_2_YS
public static final double LAMBERT_2_YS
France Lambert II Constant Ys.- See Also:
- Constant Field Values
-
LAMBERT_2E_N
public static final double LAMBERT_2E_N
Extended France Lambert II Constant n.- See Also:
- Constant Field Values
-
LAMBERT_2E_C
public static final double LAMBERT_2E_C
Extended France Lambert II Constant c.- See Also:
- Constant Field Values
-
LAMBERT_2E_XS
public static final double LAMBERT_2E_XS
Extended France Lambert II Constant Xs.- See Also:
- Constant Field Values
-
LAMBERT_2E_YS
public static final double LAMBERT_2E_YS
Extended France Lambert II Constant Ys.- See Also:
- Constant Field Values
-
LAMBERT_3_N
public static final double LAMBERT_3_N
France Lambert III Constant n.- See Also:
- Constant Field Values
-
LAMBERT_3_C
public static final double LAMBERT_3_C
France Lambert III Constant c.- See Also:
- Constant Field Values
-
LAMBERT_3_XS
public static final double LAMBERT_3_XS
France Lambert III Constant Xs.- See Also:
- Constant Field Values
-
LAMBERT_3_YS
public static final double LAMBERT_3_YS
France Lambert III Constant Ys.- See Also:
- Constant Field Values
-
LAMBERT_4_N
public static final double LAMBERT_4_N
France Lambert IV Constant n.- See Also:
- Constant Field Values
-
LAMBERT_4_C
public static final double LAMBERT_4_C
France Lambert IV Constant c.- See Also:
- Constant Field Values
-
LAMBERT_4_XS
public static final double LAMBERT_4_XS
France Lambert IV Constant Xs.- See Also:
- Constant Field Values
-
LAMBERT_4_YS
public static final double LAMBERT_4_YS
France Lambert IV Constant Ys.- See Also:
- Constant Field Values
-
LAMBERT_93_N
public static final double LAMBERT_93_N
France Lambert 93 Constant n.- See Also:
- Constant Field Values
-
LAMBERT_93_C
public static final double LAMBERT_93_C
France Lambert 93 Constant c.- See Also:
- Constant Field Values
-
LAMBERT_93_XS
public static final double LAMBERT_93_XS
France Lambert 93 Constant Xs.- See Also:
- Constant Field Values
-
LAMBERT_93_YS
public static final double LAMBERT_93_YS
France Lambert 93 Constant Ys.- See Also:
- Constant Field Values
-
-
Method Detail
-
EL2_WSG84
@Pure public static GeodesicPosition EL2_WSG84(double x, double y)
This function convert extended France Lambert II coordinate to geographic WSG84 Data.- Parameters:
x
- is the coordinate in extended France Lambert IIy
- is the coordinate in extended France Lambert II- Returns:
- lambda and phi in geographic WSG84 in degrees.
-
EL2_L1
@Pure public static Point2d EL2_L1(double x, double y)
This function convert extended France Lambert II coordinate to France Lambert I coordinate.- Parameters:
x
- is the coordinate in extended France Lambert IIy
- is the coordinate in extended France Lambert II- Returns:
- the France Lambert I coordinate.
-
EL2_L2
@Pure public static Point2d EL2_L2(double x, double y)
This function convert extended France Lambert II coordinate to France Lambert II coordinate.- Parameters:
x
- is the coordinate in extended France Lambert IIy
- is the coordinate in extended France Lambert II- Returns:
- the France Lambert II coordinate.
-
EL2_L3
@Pure public static Point2d EL2_L3(double x, double y)
This function convert extended France Lambert II coordinate to France Lambert III coordinate.- Parameters:
x
- is the coordinate in extended France Lambert IIy
- is the coordinate in extended France Lambert II- Returns:
- the France Lambert III coordinate.
-
EL2_L4
@Pure public static Point2d EL2_L4(double x, double y)
This function convert extended France Lambert II coordinate to France Lambert IV coordinate.- Parameters:
x
- is the coordinate in extended France Lambert IIy
- is the coordinate in extended France Lambert II- Returns:
- the France Lambert IV coordinate.
-
EL2_L93
@Pure public static Point2d EL2_L93(double x, double y)
This function convert extended France Lambert II coordinate to France Lambert 93 coordinate.- Parameters:
x
- is the coordinate in extended France Lambert IIy
- is the coordinate in extended France Lambert II- Returns:
- the France Lambert 93 coordinate.
-
L1_WSG84
@Pure public static GeodesicPosition L1_WSG84(double x, double y)
This function convert France Lambert I coordinate to geographic WSG84 Data.- Parameters:
x
- is the coordinate in France Lambert Iy
- is the coordinate in France Lambert I- Returns:
- lambda and phi in geographic WSG84 in degrees.
-
L1_EL2
@Pure public static Point2d L1_EL2(double x, double y)
This function convert France Lambert I coordinate to extended France Lambert II coordinate.- Parameters:
x
- is the coordinate in France Lambert Iy
- is the coordinate in France Lambert I- Returns:
- the extended France Lambert II coordinate.
-
L1_L2
@Pure public static Point2d L1_L2(double x, double y)
This function convert France Lambert I coordinate to France Lambert II coordinate.- Parameters:
x
- is the coordinate in France Lambert Iy
- is the coordinate in France Lambert I- Returns:
- the France Lambert II coordinate.
-
L1_L3
@Pure public static Point2d L1_L3(double x, double y)
This function convert France Lambert I coordinate to France Lambert III coordinate.- Parameters:
x
- is the coordinate in France Lambert Iy
- is the coordinate in France Lambert I- Returns:
- the France Lambert III coordinate.
-
L1_L4
@Pure public static Point2d L1_L4(double x, double y)
This function convert France Lambert I coordinate to France Lambert IV coordinate.- Parameters:
x
- is the coordinate in France Lambert Iy
- is the coordinate in France Lambert I- Returns:
- the France Lambert IV coordinate.
-
L1_L93
@Pure public static Point2d L1_L93(double x, double y)
This function convert France Lambert I coordinate to France Lambert 93 coordinate.- Parameters:
x
- is the coordinate in France Lambert Iy
- is the coordinate in France Lambert I- Returns:
- the France Lambert 93 coordinate.
-
L2_WSG84
@Pure public static GeodesicPosition L2_WSG84(double x, double y)
This function convert France Lambert II coordinate to geographic WSG84 Data.- Parameters:
x
- is the coordinate in France Lambert IIy
- is the coordinate in France Lambert II- Returns:
- lambda and phi in geographic WSG84 in degrees.
-
L2_EL2
@Pure public static Point2d L2_EL2(double x, double y)
This function convert France Lambert II coordinate to extended France Lambert II coordinate.- Parameters:
x
- is the coordinate in France Lambert IIy
- is the coordinate in France Lambert II- Returns:
- the extended France Lambert II coordinate.
-
L2_L1
@Pure public static Point2d L2_L1(double x, double y)
This function convert France Lambert II coordinate to France Lambert I coordinate.- Parameters:
x
- is the coordinate in France Lambert IIy
- is the coordinate in France Lambert II- Returns:
- the France Lambert I coordinate.
-
L2_L3
@Pure public static Point2d L2_L3(double x, double y)
This function convert France Lambert II coordinate to France Lambert III coordinate.- Parameters:
x
- is the coordinate in France Lambert IIy
- is the coordinate in France Lambert II- Returns:
- the France Lambert III coordinate.
-
L2_L4
@Pure public static Point2d L2_L4(double x, double y)
This function convert France Lambert II coordinate to France Lambert IV coordinate.- Parameters:
x
- is the coordinate in France Lambert IIy
- is the coordinate in France Lambert II- Returns:
- the France Lambert IV coordinate.
-
L2_L93
@Pure public static Point2d L2_L93(double x, double y)
This function convert France Lambert II coordinate to France Lambert 93 coordinate.- Parameters:
x
- is the coordinate in France Lambert IIy
- is the coordinate in France Lambert II- Returns:
- the France Lambert I coordinate.
-
L3_WSG84
@Pure public static GeodesicPosition L3_WSG84(double x, double y)
This function convert France Lambert III coordinate to geographic WSG84 Data.- Parameters:
x
- is the coordinate in France Lambert IIIy
- is the coordinate in France Lambert III- Returns:
- lambda and phi in geographic WSG84 in degrees.
-
L3_EL2
@Pure public static Point2d L3_EL2(double x, double y)
This function convert France Lambert III coordinate to extended France Lambert II coordinate.- Parameters:
x
- is the coordinate in France Lambert IIIy
- is the coordinate in France Lambert III- Returns:
- the extended France Lambert II coordinate.
-
L3_L1
@Pure public static Point2d L3_L1(double x, double y)
This function convert France Lambert III coordinate to France Lambert I coordinate.- Parameters:
x
- is the coordinate in France Lambert IIIy
- is the coordinate in France Lambert III- Returns:
- the France Lambert I coordinate.
-
L3_L2
@Pure public static Point2d L3_L2(double x, double y)
This function convert France Lambert III coordinate to France Lambert II coordinate.- Parameters:
x
- is the coordinate in France Lambert IIIy
- is the coordinate in France Lambert III- Returns:
- the France Lambert II coordinate.
-
L3_L4
@Pure public static Point2d L3_L4(double x, double y)
This function convert France Lambert III coordinate to France Lambert IV coordinate.- Parameters:
x
- is the coordinate in France Lambert IIIy
- is the coordinate in France Lambert III- Returns:
- the France Lambert IV coordinate.
-
L3_L93
@Pure public static Point2d L3_L93(double x, double y)
This function convert France Lambert III coordinate to France Lambert 93 coordinate.- Parameters:
x
- is the coordinate in France Lambert IIIy
- is the coordinate in France Lambert III- Returns:
- the France Lambert 93 coordinate.
-
L4_WSG84
@Pure public static GeodesicPosition L4_WSG84(double x, double y)
This function convert France Lambert IV coordinate to geographic WSG84 Data.- Parameters:
x
- is the coordinate in France Lambert IVy
- is the coordinate in France Lambert IV- Returns:
- lambda and phi in geographic WSG84 in degrees.
-
L4_EL2
@Pure public static Point2d L4_EL2(double x, double y)
This function convert France Lambert IV coordinate to extended France Lambert II coordinate.- Parameters:
x
- is the coordinate in France Lambert IVy
- is the coordinate in France Lambert IV- Returns:
- the extended France Lambert II coordinate.
-
L4_L1
@Pure public static Point2d L4_L1(double x, double y)
This function convert France Lambert IV coordinate to France Lambert I coordinate.- Parameters:
x
- is the coordinate in France Lambert IVy
- is the coordinate in France Lambert IV- Returns:
- the France Lambert I coordinate.
-
L4_L2
@Pure public static Point2d L4_L2(double x, double y)
This function convert France Lambert IV coordinate to France Lambert II coordinate.- Parameters:
x
- is the coordinate in France Lambert IVy
- is the coordinate in France Lambert IV- Returns:
- the France Lambert II coordinate.
-
L4_L3
@Pure public static Point2d L4_L3(double x, double y)
This function convert France Lambert IV coordinate to France Lambert III coordinate.- Parameters:
x
- is the coordinate in France Lambert IVy
- is the coordinate in France Lambert IV- Returns:
- the France Lambert III coordinate.
-
L4_L93
@Pure public static Point2d L4_L93(double x, double y)
This function convert France Lambert IV coordinate to France Lambert 93 coordinate.- Parameters:
x
- is the coordinate in France Lambert IVy
- is the coordinate in France Lambert IV- Returns:
- the France Lambert 93 coordinate.
-
L93_WSG84
@Pure public static GeodesicPosition L93_WSG84(double x, double y)
This function convert France Lambert 93 coordinate to geographic WSG84 Data.- Parameters:
x
- is the coordinate in France Lambert 93y
- is the coordinate in France Lambert 93- Returns:
- lambda and phi in geographic WSG84 in degrees.
-
L93_EL2
@Pure public static Point2d L93_EL2(double x, double y)
This function convert France Lambert 93 coordinate to extended France Lambert II coordinate.- Parameters:
x
- is the coordinate in France Lambert 93y
- is the coordinate in France Lambert 93- Returns:
- the extended France Lambert II coordinate.
-
L93_L1
@Pure public static Point2d L93_L1(double x, double y)
This function convert France Lambert 93 coordinate to France Lambert I coordinate.- Parameters:
x
- is the coordinate in France Lambert 93y
- is the coordinate in France Lambert 93- Returns:
- the France Lambert I coordinate.
-
L93_L2
@Pure public static Point2d L93_L2(double x, double y)
This function convert France Lambert 93 coordinate to France Lambert II coordinate.- Parameters:
x
- is the coordinate in France Lambert 93y
- is the coordinate in France Lambert 93- Returns:
- the France Lambert II coordinate.
-
L93_L3
@Pure public static Point2d L93_L3(double x, double y)
This function convert France Lambert 93 coordinate to France Lambert III coordinate.- Parameters:
x
- is the coordinate in France Lambert 93y
- is the coordinate in France Lambert 93- Returns:
- the France Lambert III coordinate.
-
L93_L4
@Pure public static Point2d L93_L4(double x, double y)
This function convert France Lambert 93 coordinate to France Lambert IV coordinate.- Parameters:
x
- is the coordinate in France Lambert 93y
- is the coordinate in France Lambert 93- Returns:
- the France Lambert IV coordinate.
-
WSG84_EL2
@Pure public static Point2d WSG84_EL2(double lambda, double phi)
This function convert WSG84 GPS coordinate to extended France Lambert II coordinate.- Parameters:
lambda
- in degrees.phi
- in degrees.- Returns:
- the extended France Lambert II coordinates.
-
WSG84_L1
@Pure public static Point2d WSG84_L1(double lambda, double phi)
This function convert WSG84 GPS coordinate to France Lambert I coordinate.- Parameters:
lambda
- in degrees.phi
- in degrees.- Returns:
- the France Lambert I coordinates.
-
WSG84_L2
@Pure public static Point2d WSG84_L2(double lambda, double phi)
This function convert WSG84 GPS coordinate to France Lambert II coordinate.- Parameters:
lambda
- in degrees.phi
- in degrees.- Returns:
- the France Lambert II coordinates.
-
WSG84_L3
@Pure public static Point2d WSG84_L3(double lambda, double phi)
This function convert WSG84 GPS coordinate to France Lambert III coordinate.- Parameters:
lambda
- in degrees.phi
- in degrees.- Returns:
- the France Lambert III coordinates.
-
WSG84_L4
public static Point2d WSG84_L4(double lambda, double phi)
This function convert WSG84 GPS coordinate to France Lambert IV coordinate.- Parameters:
lambda
- in degrees.phi
- in degrees.- Returns:
- the France Lambert IV coordinates.
-
WSG84_L93
@Pure public static Point2d WSG84_L93(double lambda, double phi)
This function convert WSG84 GPS coordinate to France Lambert 93 coordinate.- Parameters:
lambda
- in degrees.phi
- in degrees.- Returns:
- the France Lambert 93 coordinates.
-
-