lightworker88

Does anyone know the algorithm for determining the geographic distance between two points on Earth's surface given only their latitudes and longitudes. (I believe a number of networking sites already use it to find "distance from you" as some of them describe it.)

I believe it would be like this:

A chord is the line segment between the endpoints of an arc.

I believe it would be like this:

- change in angle for latitude and for longitude

chord length for latitude and for longitude (right angle between them)

chord length between the points (via Pythagorean theorem)

arc length between the points (the value desired)

A chord is the line segment between the endpoints of an arc.