TITLE: What is the geodesic between a point and a line (geodesic between two points) on an oblate spheroid?
QUESTION [8 upvotes]: I found a similiar question  that also asks for the distance from a point to a line but works on a sphere.
Now I'm trying to figure out the length of the geodesic line d between the given geodesic AB and the point C.
Is this the same problem as in the given question? Am I overthinking this?
For illustration

REPLY [6 votes]: Code to implement the solution of this problem using GeographicLib is available as message #4 in this the help thread.
The solution is also discussed in Section 8 of my paper "Algorithms for geodesics" which appeared recently in the Journal of Geodesy.  You can download this from here.
This is an "open access" article, so you don't need a journal subscription to download it.