Great-circle distance
Encyclopedia : G : GR : GRE : Great-circle distance
The great-circle distance is the shortest distance between any two points on the surface of a sphere measured along a path on the surface of the sphere (as opposed to going through the sphere's interior). Because spherical geometry is rather different from ordinary Euclidean geometry, the equations for distance take on a different form. The distance between two points in Euclidean space is the length of a straight line from one point to the other. On the sphere, however, there are no straight lines. In non-Euclidean geometry, straight lines are replaced with geodesics. Geodesics on the sphere are the great circles (circles on the sphere whose centers are coincident with the center of the sphere).
Between any two points on a sphere which are not directly opposite each other, there is a unique great circle. The two points separate the great circle into two arcs. The length of the shorter arc is the great-circle distance between the points. Between two points which are directly opposite each other (called antipodal points) there infinitely many great circles, but all have the same length, equal to half the circumference of the circle, or [\pi r], where r is the radius of the sphere.
Because the Earth is approximately spherical (see spherical Earth), the equations for great-circle distance are important for finding the shortest distance between points on the surface of the Earth, and so have important applications in navigation.
The formula
Let [\phi_1,\lambda_1;\ \phi_2,\lambda_2\,\!] be the latitude and longitude of two points, respectively, [\Delta\lambda\,\!] the longitude difference and [\Delta\sigma\,\!] the angular difference/distance, or central angle, which can be constituted from the spherical law of cosines:
- [\Delta\sigma=\arccos\left\]
- [\Delta\sigma=2\arcsin\left\\right)+\cos\cos\sin^2\left(\frac\right)}\right\}.\!]
- [\Delta\sigma=\arctan\left\}\right\}]
If r is the great-circle radius of the sphere, then the great-circle distance is [r\,\Delta\sigma\,\!].
Note: above, accuracy refers to rounding errors only; all formulas themselves are exact (for a sphere).
Spherical distance on the Earth
The shape of the Earth more closely resembles a flattened spheroid with extreme values for the radius of curvature, or arcradius, of 6335.437 km at the equator (vertically) and 6399.592 km at the poles, and having an [[Earth radius#Quadratic mean radius:|average great-circle radius]] of 6372.795 km.
Using a sphere with a radius of 6372.795 km thus results in an error of up to about 0.5%.
A worked example
In order to use this formula for anything practical you will need two sets of coordinates. For example, the latitude and longitude of two airports:
- Nashville International Airport (BNA) in Nashville, TN, USA: N 36°7.2', W 86°40.2
- Los Angeles International Airport (LAX) in Los Angeles, CA, USA: N 33°56.4', W 118°24.0'
- BNA:[\phi_1= 36.12^\circ\approx 0.6304\mbox,\ \ \lambda_1=-86.67^\circ\approx -1.5127\mbox;\,\!]
- LAX:[\phi_2= 33.94^\circ\approx 0.5924\mbox,\ \ \lambda_2=-118.40^\circ\approx -2.0665\mbox;\,\!]
- :[r\,\Delta\sigma\approx 6372.795\times0.45306 \approx 2887.259\mbox.\,\!]
Spherical coordinates
In the spherical coordinates used by mathematicians and physicists, usually when considering other spheres than the Earth's surface, the great-circle distance is found as follows. If [\varphi\,\!] is the azimuthal angle and [\theta\,\!] the colatitude, then the spherical distance is given by
- [r\,\Delta\sigma=2r\arcsin\left\\right)+\sin\sin\sin^2\left(\frac\right)}\right\}.\!]
- :[=r\arctan\left\}\right\};\,\!]
- [r\,\Delta\sigma=r|\theta_2-\theta_1|.\,\!]
See also
External links
- [GreatCircle] at MathWorld
- U. S. Census Bureau Geographic Information Systems FAQ, [What is the best way to calculate the distance between 2 points?] (broken link; content has been [mirrored here])
- [Great Circle Distance Airline Mileage Calculator] A tool for computing frequent flyer miles using great circle distances.
- [Aviation Formulary]
- [Great Circle Distance Calculator] Distances generated by site users showing maps and travel times
- [Haversine formula in JavaScript] Haversine and other formulae for calculating distances, bearings, etc
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
