I try to simulate geodesic on the ellipsoid recently. I have two points on the ellipsoid. After solving the inverse problem, I can get the distance and two azimuths of two points. As the figure https://i.stack.imgur.com/dJnUj.jpg. (I can obtain S12 and alpha 1 2) But how can I draw the geodesic on the ellipsoid? What I can get from the inverse problem doesn't make sense to me to draw this geodesic path. Can somebody help me with this question? Thanks!!
2026-03-27 21:17:33.1774646253
how to draw geodesic on the ellipsoid?
426 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
Once you have s12 and α1, you can solve a series of direct problems with a fixed φ1, λ1 and α1 and a varying s13 in the range 0 ≤ s13 ≤ s12 to find a sequence of waypoints 3. Join up these points and you have your geodesic.
The GeodSolve utility from GeographicLib will do the job on the command line (scroll down to the examples section). Alternatively use the GeodesicLine class in GeographicLib (see the example C++ code provided). Equivalent functionality is also provided in C by the proj.4 library, version 4.9.1.