/geographiclib-java

Java implementation of geodesic routines

Primary LanguageJava

Java implementation of the geodesic routines in GeographicLib

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

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