If I have two coordinate points of (lat, lon), how would I calculate the distance between the two?

closed as not a real question by whuber Nov 14 '12 at 23:35

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

  • This has been answered in many dozens of threads here: please use our search. It is also ambiguous: what software do you want to use, what accuracy do you need, what model of the earth will you assume? – whuber Nov 14 '12 at 23:34

This post goes into detail using a javascript script as an example. The concept you want to look into is the Haversine formula

Not the answer you're looking for? Browse other questions tagged or ask your own question.