kdbush
kdbush copied to clipboard
Implemented orthodromic distance algorithm
Hi! This is my attempt to improve the logic of calculation distance between two points in a Within() method. If points are geographical with given longitudes and latitudes, then needs a bit more complex formula for calculation distance. I implemented a haversine formula for such cases and extended behaviour of Within() method.