Skip to content

helium/vincenty

Repository files navigation

vincenty

  • Vincenty's formulae implementation in Erlang
  • Calculates distance between 2 GPS coordinates with extremely high precision

usage

$ make

test

$ make test

typecheck

$ make typecheck

example

$ ./rebar3 shell

1> vincenty:distance({0.0, 0.0}, {0.0, 0.0}).
0.0
2> vincenty:distance({42.3541165, -71.0693514}, {40.7791472, -73.9680804}).
298.396186

references