Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add implementation for haversine distance for geo-coordinates #1

Merged
merged 1 commit into from
Aug 26, 2021

Conversation

sumsamvoi
Copy link
Owner

In this PR, I have added the implementation for calculating haversine distance between geo coordinates in kilometers. This is useful if you are working with latitude and longitudes. The original implementation only calculates euclidean distances.

@sumsamvoi sumsamvoi added the enhancement New feature or request label Aug 26, 2021
@sumsamvoi sumsamvoi merged commit 465e4e6 into master Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant