Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Using Haversine for accurate distance measurement #4596
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