Geographical Distance

Geographical distance or geodetic distance is the distance measured along the surface of the Earth, or the shortest arch length.

Geographical Distance
View from the Swabian Jura to the Alps

The formulae in this article calculate distances between points which are defined by geographical coordinates in terms of latitude and longitude. This distance is an element in solving the second (inverse) geodetic problem.

Introduction

Calculating the distance between geographical coordinates is based on some level of abstraction; it does not provide an exact distance, which is unattainable if one attempted to account for every irregularity in the surface of the Earth. Common abstractions for the surface between two geographic points are:

  • Flat surface;
  • Spherical surface;
  • Ellipsoidal surface.

All abstractions above ignore changes in elevation. Calculation of distances which account for changes in elevation relative to the idealized surface are not discussed in this article.

Nomenclature

Arc distance, Geographical Distance  is the minimum distance along the surface of sphere/ellipsoid calculated between two points, Geographical Distance  and Geographical Distance . Whereas, the tunnel distance, or chord length, Geographical Distance , is measured along Cartesian straight line. The geographical coordinates of the two points, as (latitude, longitude) pairs, are Geographical Distance  and Geographical Distance  respectively. Which of the two points is designated as Geographical Distance  is not important for the calculation of distance.

Latitude and longitude coordinates on maps are usually expressed in degrees. In the given forms of the formulae below, one or more values must be expressed in the specified units to obtain the correct result. Where geographic coordinates are used as the argument of a trigonometric function, the values may be expressed in any angular units compatible with the method used to determine the value of the trigonometric function. Many electronic calculators allow calculations of trigonometric functions in either degrees or radians. The calculator mode must be compatible with the units used for geometric coordinates.

Differences in latitude and longitude are labeled and calculated as follows:

    Geographical Distance 

It is not important whether the result is positive or negative when used in the formulae below.

"Mean latitude" is labeled and calculated as follows:

    Geographical Distance 

Colatitude is labeled and calculated as follows:

    For latitudes expressed in radians:
      Geographical Distance 
    For latitudes expressed in degrees:
      Geographical Distance 

Unless specified otherwise, the radius of the Earth for the calculations below is:

    Geographical Distance  = 6,371.009 kilometers = 3,958.761 statute miles = 3,440.069 nautical miles.

Geographical Distance  = Distance between the two points, as measured along the surface of the Earth and in the same units as the value used for radius unless specified otherwise.

Singularities and discontinuity of latitude/longitude

Longitude has singularities at the Poles (longitude is undefined) and a discontinuity at the ±180° meridian. Also, planar projections of the circles of constant latitude are highly curved near the Poles. Hence, the above equations for delta latitude/longitude (Geographical Distance , Geographical Distance ) and mean latitude (Geographical Distance ) may not give the expected answer for positions near the Poles or the ±180° meridian. Consider e.g. the value of Geographical Distance  ("east displacement") when Geographical Distance  and Geographical Distance  are on either side of the ±180° meridian, or the value of Geographical Distance  ("mean latitude") for the two positions (Geographical Distance =89°, Geographical Distance =45°) and (Geographical Distance =89°, Geographical Distance =−135°).

If a calculation based on latitude/longitude should be valid for all Earth positions, it should be verified that the discontinuity and the Poles are handled correctly. Another solution is to use n-vector instead of latitude/longitude, since this representation does not have discontinuities or singularities.

Flat-surface formulae

A planar approximation for the surface of the Earth may be useful over small distances. The accuracy of distance calculations using this approximation become increasingly inaccurate as:

  • The separation between the points becomes greater;
  • A point becomes closer to a geographic pole.

The shortest distance between two points in plane is a Cartesian straight line. The Pythagorean theorem is used to calculate the distance between points in a plane. Even if omitting the conversion between arc and chord lengths shown below, it approximates the arc length, Geographical Distance , in the case that Geographical Distance  is small or Geographical Distance  and Geographical Distance  are small.

Even over short distances, the accuracy of geographic distance calculations which assume a flat Earth depend on the method by which the latitude and longitude coordinates have been projected onto the plane. The projection of latitude and longitude coordinates onto a plane is the realm of cartography.

The formulae presented in this section provide varying degrees of accuracy.

Spherical Earth projected to a plane

This formula takes into account the variation in distance between meridians with latitude:

    Geographical Distance 
    where:
      Geographical Distance  and Geographical Distance  are in radians;
      Geographical Distance  must be in units compatible with the method used for determining Geographical Distance 
    To convert latitude or longitude to radians use
      Geographical Distance 

This approximation is very fast and produces fairly accurate result for small distances [citation needed]. Also, when ordering locations by distance, such as in a database query, it is faster to order by squared distance, eliminating the need for computing the square root.

Ellipsoidal Earth projected to a plane

The above formula is extended for ellipsoidal Earth:

    Geographical Distance 
    where Geographical Distance  and Geographical Distance  are the meridional and its perpendicular, or "normal", radii of curvature of Earth. See also "Geographic coordinate conversion" for their formulas.

FCC's formula

The FCC prescribes the following formulae for distances not exceeding 475 kilometres (295 mi):

    Geographical Distance 
    where
      Geographical Distance  = Distance in kilometers;
      Geographical Distance  and Geographical Distance  are in degrees;
      Geographical Distance  must be in units compatible with the method used for determining Geographical Distance 
      Geographical Distance 
    Where Geographical Distance  and Geographical Distance  are in units of kilometers per arc degree. They are derived from radii of curvature of Earth as follows:
      Geographical Distance  = kilometers per arc degree of latitude difference;
      Geographical Distance  = kilometers per arc degree of longitude difference;
    Note that the expressions in the FCC formula are derived from the truncation of the binomial series expansion form of Geographical Distance  and Geographical Distance , set to the Clarke 1866 reference ellipsoid. For a more computationally efficient implementation of the formula above, multiple applications of cosine can be replaced with a single application and use of recurrence relation for Chebyshev polynomials.

Polar coordinate flat-Earth formula

    Geographical Distance 
    where the colatitude values are in radians. For a latitude measured in degrees, the colatitude in radians may be calculated as follows: Geographical Distance 

Spherical-surface formulae

If one is willing to accept a possible error of 0.5%, one can use formulas of spherical trigonometry on the sphere that best approximates the surface of the Earth.

The shortest distance along the surface of a sphere between two points on the surface is along the great-circle which contains the two points.

The great-circle distance article gives the formula for calculating the shortest arch length Geographical Distance  on a sphere about the size of the Earth. That article includes an example of the calculation. For example, from tunnel distance Geographical Distance ,

    Geographical Distance 

For short distances (Geographical Distance ),

    Geographical Distance 

Tunnel distance

A tunnel between points on Earth is defined by a Cartesian line through three-dimensional space between the points of interest. The tunnel distance Geographical Distance  is the great-circle chord length and may be calculated as follows for the corresponding unit sphere:

    Geographical Distance 

Or

    Geographical Distance 

Ellipsoidal-surface formulae

Geographical Distance 
Geodesic on an oblate ellipsoid

An ellipsoid approximates the surface of the Earth much better than a sphere or a flat surface does. The shortest distance along the surface of an ellipsoid between two points on the surface is along the geodesic. Geodesics follow more complicated paths than great circles and in particular, they usually don't return to their starting positions after one circuit of the Earth. This is illustrated in the figure on the right where f is taken to be 1/50 to accentuate the effect. Finding the geodesic between two points on the Earth, the so-called inverse geodetic problem, was the focus of many mathematicians and geodesists over the course of the 18th and 19th centuries with major contributions by Clairaut, Legendre, Bessel, and Helmert English translation of Astron. Nachr. 4, 241–254 (1825). Errata. Rapp provides a good summary of this work.

Methods for computing the geodesic distance are widely available in geographical information systems, software libraries, standalone utilities, and online tools. The most widely used algorithm is by Vincenty, who uses a series which is accurate to third order in the flattening of the ellipsoid, i.e., about 0.5 mm; however, the algorithm fails to converge for points that are nearly antipodal. (For details, see Vincenty's formulae.) This defect is cured in the algorithm given by Karney, who employs series which are accurate to sixth order in the flattening. This results in an algorithm which is accurate to full double precision and which converges for arbitrary pairs of points on the Earth. This algorithm is implemented in GeographicLib.

The exact methods above are feasible when carrying out calculations on a computer. They are intended to give millimeter accuracy on lines of any length; one can use simpler formulas if one doesn't need millimeter accuracy, or if one does need millimeter accuracy but the line is short.

The short-line methods have benn studied by several researchers. Rapp, Chap. 6, describes the Puissant method, the Gauss mid-latitude method, and the Bowring method. Karl Hubeny got the expanded series of Gauss mid-latitude one represented as the correction to flat-surface one.

Lambert's formula for long lines

Lambert's formulae give accuracy on the order of 10 meters over thousands of kilometers. First convert the latitudes Geographical Distance , Geographical Distance  of the two points to reduced latitudes Geographical Distance , Geographical Distance 

    Geographical Distance 

where Geographical Distance  is the flattening. Then calculate the central angle Geographical Distance  in radians between two points Geographical Distance  and Geographical Distance  on a sphere using the Great-circle distance method (haversine formula), with longitudes Geographical Distance  and Geographical Distance  being the same on the sphere as on the spheroid.

    Geographical Distance 
    Geographical Distance 

Geographical Distance 

where Geographical Distance  is the equatorial radius of the chosen spheroid.

On the GRS 80 spheroid Lambert's formula is off by

    0 North 0 West to 40 North 120 West, 12.6 meters
    0N 0W to 40N 60W, 6.6 meters
    40N 0W to 40N 60W, 0.85 meter

Gauss mid-latitude method for short lines

It has the form of the arc length converted from tunnel distance. Detailed formulas are given by Rapp, §6.4.

    Geographical Distance 

Bowring's method for short lines

Bowring maps the points to a sphere of radius R′, with latitude and longitude represented as φ′ and λ′. Define

    Geographical Distance 

where the second eccentricity squared is

    Geographical Distance 

The spherical radius is

    Geographical Distance 

(The Gaussian curvature of the ellipsoid at φ1 is 1/R′2.) The spherical coordinates are given by

    Geographical Distance 

where Geographical Distance , Geographical Distance , Geographical Distance , Geographical Distance . The resulting problem on the sphere may be solved using the techniques for great-circle navigation to give approximations for the spheroidal distance and bearing. Detailed formulas are given by Rapp, §6.5 and Bowring.

Altitude correction

The variation in altitude from the topographical or ground level down to the sphere's or ellipsoid's surface, also changes the scale of distance measurements. The slant distance s (chord length) between two points can be reduced to the arc length on the ellipsoid surface S as:

    Geographical Distance 

where R is evaluated from Earth's azimuthal radius of curvature and h are ellipsoidal heights are each point. The first term on the right-hand side of the equation accounts for the mean elevation and the second term for the inclination. A further reduction of the above Earth normal section length to the ellipsoidal geodesic length is often negligible.

See also

References

Tags:

Geographical Distance IntroductionGeographical Distance Flat-surface formulaeGeographical Distance Spherical-surface formulaeGeographical Distance Ellipsoidal-surface formulaeGeographical Distance Altitude correctionGeographical DistanceDistanceEarth

🔥 Trending searches on Wiki English:

The Age of AdalineBart SibrelOlga DanilovićNikola JokićNeil TennantGeneration ZJordan LoveIsaiah HartensteinEloy Casagrande2024 Summer OlympicsJohn AltAdolf HitlerXavier LegetteJoe AlwynIsrael–Hamas warJosé Mourinho2024 Indian general election in BiharThe Jinx (miniseries)Killing EveLimoneneUnited Arab EmiratesAaron Taylor-JohnsonDesmond RidderDarvin HamNFL draftBrian Thomas Jr.Ryan ReynoldsSunil NarineMalik Nabers2022 NFL draftThe Ministry of Ungentlemanly WarfareUnsung Hero (film)BhimaaJesusBenjamin FranklinSabrina CarpenterPoor Things (film)BeyoncéRonan FarrowTurkeyTitanicDownloadWhite dress of Marilyn MonroeRuslaanEFL ChampionshipGeorgina ChapmanList of prime ministers of IndiaChennai Super KingsJim HarbaughBrad PittTLC (group)Main PageCarnation RevolutionBaby ReindeerThe First OmenTrap (2024 film)Duran DuranDonald TrumpBack to Black (film)Mahatma GandhiGeorge SorosPassoverSheriff (film)Winona RyderElla PurnellList of musical symbolsAsmir BegovićRageh OmaarFranceThem (TV series)Kolkata Knight RidersLaapataa Ladies2024 Indian general election in Uttar PradeshShah Rukh KhanPet Shop BoysMichael Porter Jr.Gisele Bündchen🡆 More