A simple C library to convert Lambert coordinates to GPS WGS84 coordinates based on the IGN algorithms and methods
Add lambert.h
and lambert.c
into your project
Inside the source folders :
mkdir build && cd build
cmake ..
make install
You can obtain .deb
from bintray
[requires]
lambert/2.0.1@yageek/stable
[generators]
cmake
See: https://www.conan.io/source/lambert/2.0.1/yageek/stable
//Declares origin point and translated point
YGPoint point = YGMeterPoint(994272.661,113467.422);
//Converts point in Lambert Zone 1 to WGS84
point = YGPointConvertWGS84(point,LAMBERT_I)
//Convert to Degree
point = YGPointToDegree(point);
printf("Lat:%.9f - Lon:%.9f",point.y,point.x);
- Fix bug when transforming coordinates from cartesian to geographic in non Lambert93.
- Change API.
- Fix bug in Lambert93 case.
- First release.