This is a library to solve geodesic problems on an ellipsoid model of the earth.
Licensed under the MIT/X11 License; see LICENSE.txt.
The algorithms are documented in
- C. F. F. Karney, Algorithms for geodesics, J. Geodesy 87(1), 43–55 (2013); Addenda.
The Java package is available here.
Here is the documentation on the application programming interface
You can build the example programs direct
, inverse
, or
planimeter
, with, for example:
cd inverse
mvn compile
echo -30 0 29.5 179.5 | mvn -q exec:java
The ouput should be
154.37818274278 25.48587026077 19937782.280350