French RGF93 - Lambert 93 will be available in gvSIG Mobile

Thanks to Hervé Quinquenel (from the French Ecole Nationale des Sciences Géographiques, ENSG, http://www.ensg.eu and the Institut Géographique National, IGN, http://www.ign.fr) we now have the official formulas for the conversion between WGS84 coordinates (EPSG:4326, used by the GNSS systems such as GPS) and the new official French projection (RGF93 - Lambert 93, EPSG:2154). You can see the formulas in the source code SVN repository, searching for the tag "AJOUT HERVE" in this file. Of course this conversion will also be available in the upcoming gvSIG Mobile 1.0.



To check the correctness of this new Java code, we can use the coordinates of the Point zéro des routes de France (France road system zero point):

EPSG:2154
X = 652215.52
m
Y = 6861681.77 m

EPSG:4326
48º 51' 12.24845'' N (48.8534023472)
2º 20' 55.62563'' E (2.3487848972)

If we use those EPSG:4326 coordinates as the input for the formulas sent by Hervé, we get:

X = 652215.5199688374
Y = 6861681.770095885

The divergence is less than one milimeter, which means that we are actually using the official formulas. For those who are a bit skeptical, the coordinates of Paris are not part of the conversion formula, so in terms of testing, the coordinates we have used are a random sample.



Point zéro des routes de France (Source: Wikipedia).

Comments

Popular posts from this blog

Computing and applying an affine transformation to a vector layer using gvSIG and Quantum GIS

Transformación de CANOA (Venezuela) a WGS84 en gvSIG mediante una rejilla que simula el método Molodensky-Badekas