haversine icon indicating copy to clipboard operation
haversine copied to clipboard

Calculate the distance between 2 points on Earth

Results 12 haversine issues
Sort by recently updated
recently updated
newest added

If I run `inverse_haversine((45.7597, 0.0), -300, 0.5*pi)` the output is `(45.69452167473055, -3.864098251954592)` while I expect that the first number remains the same as before since I am moving to the...

Hey there, nice package! I was wondering, if you could implement a routine to compute a pairwise distance matrix like [`scipy.spatial.distance.cdist`](https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.distance.cdist.html#scipy.spatial.distance.cdist) does. Cheers, Sebastian

question

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. Release notes Sourced from actions/checkout's releases. v4.0.0 What's Changed Update default runtime to node20 by @​takost in actions/checkout#1436 Support fetching without the --progress option...

dependencies

Tests suite of `haversine` `2.8.1` fails on 32bit systems with: ``` =================================== FAILURES =================================== ________________________________ test_pair[km] _________________________________ unit = @pytest.mark.parametrize( 'unit', [Unit.KILOMETERS, Unit.METERS, Unit.INCHES] ) def test_pair(unit): def test_lyon_paris(unit): expected_lyon_paris...

I want to compute the 10km coord which is inside (coord1,coord2), how to compute it using haversine library? Would any one give me a clue?

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3. Release notes Sourced from github/codeql-action's releases. v2.28.1 CodeQL Action Changelog See the releases page for the relevant changes to the CodeQL CLI and language...

dependencies
github_actions

Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6. Release notes Sourced from actions/checkout's releases. v6.0.0 What's Changed Update README to include Node.js 24 support details and requirements by @​salmanmkc in actions/checkout#2248 Persist...

dependencies
github_actions

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 4. Release notes Sourced from github/codeql-action's releases. v3.30.8 CodeQL Action Changelog See the releases page for the relevant changes to the CodeQL CLI and language...

dependencies
github_actions

Thanks for writing this module. 🚀 We recently installed darts/prophet for another use (NOT for `haversine`) and that created a side-effect affecting this module which was working before. The related...