Best fitting geodesic on a sphere

51 Views Asked by At

Given a list of points (latitudes and longitudes) on a sphere, I want to find the geodesic which minimizes the sum of squared deviations from the geodesic to the points.

Is there a nice and efficient way to do this?