This is cool. Though as you take into account more of the detail of the shape of the surface, your straight line can get a lot longer. I would be interested to see one that takes into account the large scale ocean surface topography, to see if that can change it by much.