https://github.com/helium/vincenty
Vincenty's formulae implementation in Erlang
https://github.com/helium/vincenty
erlang gps-coordinates vincenty
Last synced: 9 months ago
JSON representation
Vincenty's formulae implementation in Erlang
- Host: GitHub
- URL: https://github.com/helium/vincenty
- Owner: helium
- License: apache-2.0
- Created: 2018-03-05T06:16:29.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-11-16T07:49:19.000Z (over 4 years ago)
- Last Synced: 2025-10-07T01:22:15.511Z (9 months ago)
- Topics: erlang, gps-coordinates, vincenty
- Language: Rust
- Size: 676 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
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