-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Spherical Law Of Cosines is commonly used instead of Haversine due to better performance and very close results. Generally, if you need higher accuracy than SLOC, Haversine is probably too inaccurate as well.
See here for an explaination of the quality aspect:
http://gis.stackexchange.com/questions/4906/why-is-law-of-cosines-more-preferable-than-haversine-when-calculating-distance-b
See here for documentation:
https://en.wikipedia.org/wiki/Spherical_law_of_cosines
If you want, I have PHP code for it, but it's pretty trivial to implement yourself.
Metadata
Metadata
Assignees
Labels
No labels