Join Nostr
2025-05-10 16:32:49 UTC

David Quintero on Nostr: Geographiclib solves both geodesic problems: the direct problem (given initial ...

Geographiclib solves both geodesic problems: the direct problem (given initial problem and a distance, find a point), and the inverse problem (given initial and final point, find the distance). It also gives angles with respect to meridians.

They claim to have an ellipsoid model of the Earth with a maximum error of the order of nanometers (!!). The Vincenty approximation for the Earth is at around 0.1 mm of maximum error. One of the authors they cite is Bessel, the mathematician of the XIX century.

Geodesics on an ellipsoid — geographiclib 2.0 documentation
https://geographiclib.sourceforge.io/html/python/geodesics.html