Sponsored Links

Sabtu, 06 Januari 2018

Sponsored Links

HOW TO COPE WITH A LONG DISTANCE RELATIONSHIP | SINGLE BUT NOT STUPID
src: singletalks.files.wordpress.com

Geographical distance is the distance measured along the surface of the earth. 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.


Video Geographical distance



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

Distance, D , {\displaystyle D,\,\!} is calculated between two points, P 1 {\displaystyle P_{1}\,\!} and P 2 {\displaystyle P_{2}\,\!} . The geographical coordinates of the two points, as (latitude, longitude) pairs, are ( ? 1 , ? 1 ) {\displaystyle (\phi _{1},\lambda _{1})\,\!} and ( ? 2 , ? 2 ) , {\displaystyle (\phi _{2},\lambda _{2}),\,\!} respectively. Which of the two points is designated as P 1 {\displaystyle P_{1}\,\!} 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:

? ? = ? 2 - ? 1 ; ? ? = ? 2 - ? 1 . {\displaystyle {\begin{aligned}\Delta \phi &=\phi _{2}-\phi _{1};\\\Delta \lambda &=\lambda _{2}-\lambda _{1}.\end{aligned}}\,\!}

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:

? m = ? 1 + ? 2 2 . {\displaystyle \phi _{m}={\frac {\phi _{1}+\phi _{2}}{2}}.\,\!}

Colatitude is labeled and calculated as follows:

For latitudes expressed in radians:
? = ? 2 - ? ; {\displaystyle \theta ={\frac {\pi }{2}}-\phi ;\,\!}
For latitudes expressed in degrees:
? = 90 ? - ? . {\displaystyle \theta =90^{\circ }-\phi .\,\!}

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

R {\displaystyle R\,\!} = 6,371.009 kilometers = 3,958.761 statute miles = 3,440.069 nautical miles.

D {\displaystyle D_{\,}\!} = 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 ( ? ? {\displaystyle \Delta \phi \!} , ? ? {\displaystyle \Delta \lambda \!} ) and mean latitude ( ? m {\displaystyle \phi _{m}\!} ) may not give the expected answer for positions near the Poles or the ±180° meridian. Consider e.g. the value of ? ? {\displaystyle \Delta \lambda \!} ("east displacement") when ? 1 {\displaystyle \lambda _{1}\!} and ? 2 {\displaystyle \lambda _{2}\!} are on either side of the ±180° meridian, or the value of ? m {\displaystyle \phi _{m}\!} ("mean latitude") for the two positions ( ? 1 {\displaystyle \phi _{1}\!} =89°, ? 1 {\displaystyle \lambda _{1}\!} =45°) and ( ? 2 {\displaystyle \phi _{2}\!} =89°, ? 2 {\displaystyle \lambda _{2}\!} =-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.


Maps Geographical distance



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 straight line. The Pythagorean theorem is used to calculate the distance between points in a plane.

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:

D = R ( ? ? ) 2 + ( cos ( ? m ) ? ? ) 2 , {\displaystyle D=R{\sqrt {(\Delta \phi )^{2}+(\cos(\phi _{m})\Delta \lambda )^{2}}},}
where:
? ? {\displaystyle \Delta \phi \,\!} and ? ? {\displaystyle \Delta \lambda \,\!} are in radians;
? m {\displaystyle \phi _{m}\,\!} must be in units compatible with the method used for determining cos ( ? m ) . {\displaystyle \cos(\phi _{m}).\,\!}
To convert latitude or longitude to radians use
1 ? = ( ? / 180 ) r a d i a n s . {\displaystyle 1^{\circ }=(\pi /180)\,\mathrm {radians} .}

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

Ellipsoidal Earth projected to a plane

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

D = ( K 1 ? ? ) 2 + ( K 2 ? ? ) 2 , {\displaystyle D={\sqrt {(K_{1}\Delta \phi )^{2}+(K_{2}\Delta \lambda )^{2}}},}
where
D {\displaystyle D\,\!} = Distance in kilometers;
? ? {\displaystyle \Delta \phi \,\!} and ? ? {\displaystyle \Delta \lambda \,\!} are in degrees;
? m {\displaystyle \phi _{m}\,\!} must be in units compatible with the method used for determining cos ( ? m ) ; {\displaystyle \cos(\phi _{m});\,\!}
K 1 = 111.13209 - 0.56605 cos ( 2 ? m ) + 0.00120 cos ( 4 ? m ) ; K 2 = 111.41513 cos ( ? m ) - 0.09455 cos ( 3 ? m ) + 0.00012 cos ( 5 ? m ) . {\displaystyle {\begin{aligned}K_{1}&=111.13209-0.56605\cos(2\phi _{m})+0.00120\cos(4\phi _{m});\\K_{2}&=111.41513\cos(\phi _{m})-0.09455\cos(3\phi _{m})+0.00012\cos(5\phi _{m}).\end{aligned}}\,\!}
It may be interesting to note that:
K 1 = M ? 180 {\displaystyle K_{1}=M{\frac {\pi }{180}}\,\!} = kilometers per degree of latitude difference;
K 2 = cos ( ? m ) N ? 180 {\displaystyle K_{2}=\cos(\phi _{m})N{\frac {\pi }{180}}\,\!} = kilometers per degree of longitude difference;
where M {\displaystyle M\,\!} and N {\displaystyle N\,\!} are the meridional and its perpendicular, or "normal", radii of curvature (the expressions in the FCC formula are derived from the binomial series expansion form of M {\displaystyle M\,\!} and N {\displaystyle N\,\!} , set to the Clarke 1866 reference ellipsoid).

Polar coordinate flat-Earth formula

D = R ? 1 2 + ? 2 2 - 2 ? 1 ? 2 cos ( ? ? ) , {\displaystyle D=R{\sqrt {\theta _{1}^{2}\;{\boldsymbol {+}}\;\theta _{2}^{2}\;\mathbf {-} \;2\theta _{1}\theta _{2}\cos(\Delta \lambda )}},}
where the colatitude values are in radians. For a latitude measured in degrees, the colatitude in radians may be calculated as follows: ? = ? 180 ( 90 ? - ? ) . {\displaystyle \theta ={\frac {\pi }{180}}(90^{\circ }-\phi ).\,\!}

of language show a strong link to the geographic dispersal of ...
src: 3c1703fe8d.site.internapcdn.net


Spherical-surface formulae

If we are willing to accept a possible error of 0.5%, we 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 distance along a great-circle on a sphere about the size of the Earth. That article includes an example of the calculation.

Tunnel distance

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

? X = cos ( ? 2 ) cos ( ? 2 ) - cos ( ? 1 ) cos ( ? 1 ) ; ? Y = cos ( ? 2 ) sin ( ? 2 ) - cos ( ? 1 ) sin ( ? 1 ) ; ? Z = sin ( ? 2 ) - sin ( ? 1 ) ; C h = ( ? X ) 2 + ( ? Y ) 2 + ( ? Z ) 2 . {\displaystyle {\begin{aligned}&\Delta {X}=\cos(\phi _{2})\cos(\lambda _{2})-\cos(\phi _{1})\cos(\lambda _{1});\\&\Delta {Y}=\cos(\phi _{2})\sin(\lambda _{2})-\cos(\phi _{1})\sin(\lambda _{1});\\&\Delta {Z}=\sin(\phi _{2})-\sin(\phi _{1});\\&C_{h}={\sqrt {(\Delta {X})^{2}+(\Delta {Y})^{2}+(\Delta {Z})^{2}}}.\end{aligned}}}

The tunnel distance between points on the surface of a spherical Earth is D = R C h {\displaystyle D=RC_{h}} . For short distances ( D << R {\displaystyle D\ll R} ), this underestimates the great circle distance by D ( D / R ) 2 / 24 {\displaystyle D(D/R)^{2}/24} .


Nuclear power - Geographical
src: geographical.co.uk


Ellipsoidal-surface formulae

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. 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 anti-podal. (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; we can use simpler formulas if we don't need millimeter accuracy, or if we do need millimeter accuracy but the line is short. Rapp, Chap. 6, describes the Puissant method, the Gauss mid-latitude method, and the Bowring method.

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 ? 1 {\displaystyle \scriptstyle \phi _{1}} , ? 2 {\displaystyle \scriptstyle \phi _{2}} of the two points to reduced latitudes ? 1 {\displaystyle \scriptstyle \beta _{1}} , ? 2 {\displaystyle \scriptstyle \beta _{2}}

tan ? = ( 1 - f ) tan ? , {\displaystyle \tan \beta =(1-f)\tan \phi ,}

where f {\displaystyle f} is the flattening. Then calculate the central angle ? {\displaystyle \sigma } in radians between two points ( ? 1 , ? 1 ) {\displaystyle (\beta _{1},\;\lambda _{1})} and ( ? 2 , ? 2 ) {\displaystyle (\beta _{2},\;\lambda _{2})} on a sphere in the usual way (law of cosines or haversine formula), with longitudes ? 1 {\displaystyle \lambda _{1}\;} and ? 2 {\displaystyle \lambda _{2}\;} being the same on the sphere as on the spheroid.

P = ? 1 + ? 2 2 Q = ? 2 - ? 1 2 {\displaystyle P={\frac {\beta _{1}+\beta _{2}}{2}}\qquad Q={\frac {\beta _{2}-\beta _{1}}{2}}}

X = ( ? - sin ? ) sin 2 P cos 2 Q cos 2 ? 2 Y = ( ? + sin ? ) cos 2 P sin 2 Q sin 2 ? 2 {\displaystyle X=(\sigma -\sin \sigma ){\frac {\sin ^{2}P\cos ^{2}Q}{\cos ^{2}{\frac {\sigma }{2}}}}\qquad \qquad Y=(\sigma +\sin \sigma ){\frac {\cos ^{2}P\sin ^{2}Q}{\sin ^{2}{\frac {\sigma }{2}}}}}

d i s t a n c e = a ( ? - f 2 ( X + Y ) ) {\displaystyle \mathrm {distance} =a{\bigl (}\sigma -{\tfrac {f}{2}}(X+Y){\bigr )}}

where a {\displaystyle a} 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

Bowring's method for short lines

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

A = 1 + e ? 2 cos 4 ? 1 , B = 1 + e ? 2 cos 2 ? 1 , {\displaystyle A={\sqrt {1+e'^{2}\cos ^{4}\phi _{1}}},\quad B={\sqrt {1+e'^{2}\cos ^{2}\phi _{1}}},}

where the second eccentricity squared is

e ? 2 = a 2 - b 2 b 2 = f ( 2 - f ) ( 1 - f ) 2 . {\displaystyle e'^{2}={\frac {a^{2}-b^{2}}{b^{2}}}={\frac {f(2-f)}{(1-f)^{2}}}.}

The spherical radius is

R ? = 1 + e ? 2 B 2 a . {\displaystyle R'={\frac {\sqrt {1+e'^{2}}}{B^{2}}}a.}

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

tan ? 1 ? = tan ? B , ? ? ? = ? ? B [ 1 + 3 e ? 2 4 B 2 ( ? ? ) sin ( 2 ? 1 + 2 3 ? ? ) ] , ? ? ? = A ? ? , {\displaystyle {\begin{aligned}\tan \phi _{1}'&={\frac {\tan \phi }{B}},\\\Delta \phi '&={\frac {\Delta \phi }{B}}{\biggl [}1+{\frac {3e'^{2}}{4B^{2}}}(\Delta \phi )\sin(2\phi _{1}+{\tfrac {2}{3}}\Delta \phi ){\biggr ]},\\\Delta \lambda '&=A\Delta \lambda ,\end{aligned}}}

where ? ? = ? 2 - ? 1 {\displaystyle \Delta \phi =\phi _{2}-\phi _{1}} , ? ? ? = ? 2 ? - ? 1 ? {\displaystyle \Delta \phi '=\phi _{2}'-\phi _{1}'} , ? ? = ? 2 - ? 1 {\displaystyle \Delta \lambda =\lambda _{2}-\lambda _{1}} , ? ? ? = ? 2 ? - ? 1 ? {\displaystyle \Delta \lambda '=\lambda _{2}'-\lambda _{1}'} . 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.


Large-scale Image Retrieval using Scene Maps | IVA
src: image.ntua.gr


See also

  • Earth radius
  • Spherical Earth
  • Great-circle distance
  • Great-circle navigation
  • Vincenty's formulae
  • Meridian arc

Geography of India - Wikipedia
src: upload.wikimedia.org


References


Analyzing Geographical Distance in SAS Visual Analytics 8.1 on SAS ...
src: brightcove04.o.brightcove.com


External links

  • An online geodesic calculator (based on GeographicLib).
  • An online geodesic bibliography.

Source of the article : Wikipedia

Comments
0 Comments