Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 487 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 487 Bytes

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