geo-dist

Geodesic distance calculations


License
EPL-1.0

Documentation

geo-dist Clojars Project Circle CI

Geodesic distance functions for Clojure

Usage

Available on Clojars.

With Leiningen:

[geo-dist "0.1.1-SNAPSHOT"]

Haversine formula) using Earth radius of 6,372.8km is implemented in geo-dist.haversine as distance.

Vincenty approximations using the WGS84 ellipsoid are in geo-dist.vincenty. There is currently an implementation of Vincenty's inverse problem as inverse and the direct problem as direct.

The Vincenty algorithm was adapted from this Javascript implementation by Chris Veness.

License

Copyright © 2016 Yu-Xi Lim

Distributed under the Apache License either version 2.0 or (at your option) any later version.