|
1 |
| -dist |
2 |
| -======== |
| 1 | +<h1><img src="https://raw.githubusercontent.com/duboviy/dist/master/logo.png" height=85 alt="logo" title="logo"> dist</h1> |
3 | 2 |
|
4 |
| -[](https://travis-ci.org/duboviy/pybenchmark) [](https://www.codacy.com/app/dubovoy/dist?utm_source=github.com&utm_medium=referral&utm_content=duboviy/dist&utm_campaign=badger) [](https://landscape.io/github/duboviy/dist/master) [](https://github.com/duboviy/dist/) [](https://github.com/duboviy/dist/pulls) [](https://github.com/duboviy/dist/) |
| 3 | +by [Eugene Duboviy](https://duboviy.github.io/) |
| 4 | + |
| 5 | +[](https://travis-ci.org/duboviy/dist) [](https://www.codacy.com/app/dubovoy/dist?utm_source=github.com&utm_medium=referral&utm_content=duboviy/dist&utm_campaign=badger) [](https://landscape.io/github/duboviy/dist/master) [](https://github.com/duboviy/dist/) [](https://github.com/duboviy/dist/pulls) [](https://github.com/duboviy/dist/) |
5 | 6 |
|
6 | 7 | Python/C API extension module that computes distance between two coordinates on the world map.
|
7 | 8 |
|
@@ -59,11 +60,36 @@ Checked under following Python versions:
|
59 | 60 | * "3.6"
|
60 | 61 |
|
61 | 62 |
|
62 |
| - |
63 | 63 | What does it use inside? What kind of formula implementation is used?
|
64 | 64 | ---------------------------------------------------------------------
|
65 | 65 |
|
66 | 66 | Module accounts the curvature of the Earth when calculating large distances on the world map. If the Earth were flat, calculating the distance between two points would be very simple as for a straight line. The Haversine formula is used in current implementation, it includes a constant that represents the radius of the Earth.
|
67 | 67 | The Haversine formula is not 100% accurate because the Earth is not a perfect sphere. However, the Haversine gives a good enough approximation for most applications that use geolocation.
|
68 | 68 |
|
| 69 | + |
| 70 | +License |
| 71 | +--------------------------------------------------------------------- |
| 72 | + |
| 73 | +**MIT** licensed library. See [LICENSE.txt](LICENSE.txt) for details. |
| 74 | + |
| 75 | + |
| 76 | +Contributing |
| 77 | +--------------------------------------------------------------------- |
| 78 | + |
| 79 | +If you have suggestions for improving the dist, please [open an issue or |
| 80 | +pull request on GitHub](https://github.com/duboviy/dist/). |
| 81 | + |
| 82 | + |
| 83 | +Badges |
| 84 | +--------------------------------------------------------------------- |
| 85 | + |
| 86 | +[](https://github.com/duboviy/dist/) |
| 87 | +[](https://github.com/duboviy/dist/) [](https://github.com/duboviy/dist/) [](https://github.com/duboviy/dist/) |
| 88 | + |
| 89 | +[](https://github.com/duboviy/dist/) [](https://github.com/duboviy/dist/) [](https://github.com/duboviy/dist/) [](https://github.com/duboviy/dist/) |
| 90 | + |
| 91 | +[](https://github.com/duboviy/dist/) |
| 92 | + |
| 93 | +[](https://github.com/duboviy/dist/) |
| 94 | + |
69 | 95 | _______________________________________
|
0 commit comments