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.
Suppose that there are two points on the Earth's surface,
Introduce the following notation:
Set the initial value of
The iterative calculation continues until the end condition is met:
or until the limit on iterations is reached.
The geodetic distance and azimuths are then calculated:
Vincenty then proposed a more compact formula for
- 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
- International Civil Aviation Organization. World Geodetic System – 1984 (WGS-84) manual, 2002. https://www.icao.int/NACC/Documents/Meetings/2014/ECARAIM/REF08-Doc9674.pdf