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

Using Haversine for accurate distance measurement #4596

Closed
chilling opened this Issue Jan 3, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@chilling
Contributor

chilling commented Jan 3, 2014

The current implementation of an accurate distance calculation is not accurate for distances less than 1m. Since the haversine function is more robust against rounding error of floating point arithmetic, the great circle distance should be replaced by an accurate implementation of the haversine function.

Related to #4498

@ghost ghost assigned chilling Jan 3, 2014

@chilling chilling closed this in 611dd0a Jan 3, 2014

brusic added a commit to brusic/elasticsearch that referenced this issue Jan 19, 2014

@chilling chilling removed their assignment Mar 10, 2015

mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment