@geoviews @OrdnanceSurvey They say they look for the longest distance between opposing vertices. That's not necessarily the longest straight line in the polygon, if it's non-convex. If there are enough vertices, this won't matter too much, though.
Taking elevation change into account would be interesting!