how to get the distance between to points on earth in Swift?

How can I get the distance between two points on Earth based solely on their GPS coordinates?

  • Ok for instance the distance between Bruxelles 50°50′48″N 4°21′9″E and Dublin 53°34'72''N -6°25'92''W. If you don't have the formula but know a website doing the deed it is just as good. Many thanks Regards

  • Answer:

maharbba... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

If you're actually interested in the formula, it's called the "Great Circle Distance". http://en.wikipedia.org/wiki/Great-circle_distance Most programs use the Vincenty formula. If you need this kind of nerdy math, http://williams.best.vwh.net/avform.htm#Dist is a very handy reference.

Robert L

enter the coordinates in your gps and then see what the trip says.. it should tell you..

chuckufarley2a

ask the gps how many miles thats the least of wha t there suppose to do.

yourdoneandover

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.