Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/helium/vincenty

Vincenty's formulae implementation in Erlang
https://github.com/helium/vincenty

erlang gps-coordinates vincenty

Last synced: 5 days ago
JSON representation

Vincenty's formulae implementation in Erlang

Awesome Lists containing this project

README

        

# vincenty
- [Vincenty's formulae](https://en.wikipedia.org/wiki/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
```Erlang
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
- https://github.com/maurycyp/vincenty