You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solving the inverse problem of geodesy on the WGS-84 Earth model.
It should be said that I have not considered special cases such as two nearly antipodal points, etc.
Algorithm
Suppose that there are two points on the Earth's surface, $\overline{A}\left(\varphi_1, L_1\right)$ and $\overline{B}\left(\varphi_2, L_2\right)$, each of which is defined by certain latitude ($\varphi$) and longitude ($L$) coordinates, then the distance $D$ between these points can be determined using the inverse Vincenty's method.
Introduce the following notation: $a$ is the equatorial radius of the Earth model, $f$ is the flattening factor of the Earth model, $b$ is the polar radius of the Earth model, $\alpha_1,\alpha_2$ — direct azimuths in points, $U_1 = \arctan{\left(\left(1 - f\right)\tan{\varphi_1}\right)}$, $U_2 = \arctan{\left(\left(1 - f\right)\tan{\varphi_2}\right)}$, $L = L_2 - L_1$, $\varepsilon_\lambda$ — the permissible error.
Set the initial value of $\lambda_k = L, k = 0$, and calculate the following expressions:
T. Vincenty. DIRECT AND INVERSE SOLUTIONS OF GEODESICS ON THE ELLIPSOID WITH APPLICATION OF NESTED EQUATIONS. Survey Review, 23(176):88–93, 4 1975. https://doi.org/10.1179/sre.1975.23.176.88
T. Vincenty. GEODETIC INVERSE SOLUTION BETWEEN ANTIPODAL POINTS. DMAAC Geodetic Survey Squadron. 1975. https://doi:10.5281/zenodo.32999