Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

share|improve this 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
add comment

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.

1 Answer

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

share|improve this answer
add comment

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