Since our application is highly dependent on accurate GPS locations and distances, it was very important to accurately calculate distances around the globe for two locations that are very far away.
The naive way of doing it is to extrapolate the earth to be a sphere and easily find the distance using simple equations. Here is a short explanation [...]


