What each extra leg buys on London to Tokyo
The worst departure from the great circle, and the extra distance flown, against the number of constant-heading legs, on logarithmic axes. The slope is -1.84: doubling the legs quarters the error, so the first few are worth far more than the rest. 32 legs bring the route inside 10 km of the great circle, at a cost of 2 km on a 9559 km flight — 0.03%.
It is drawn by route-figure with
show: "leg-error" — one member of a family of
9 figures
that share a generator, so the drawing above is what that generator returns when it is asked
for this one and given nothing else.
5 essays call it. Every call below passes it something, because a placement that passes nothing draws whichever member of the family the generator happens to default to rather than the one its essay argues about.
Where it is called
Changing this changes every one of these figures.
Why Mercator exists
A ship can hold a compass bearing and cannot easily hold a great circle. Mercator is the answer to one question — what must a map do so that a constant bearing is a straight line — and it answers it exactly.
Flying a curve in straight legs
Nobody steers a great circle, because a great circle requires the heading to change continuously. What is actually flown is a handful of constant-heading legs between waypoints on it, and the gap between plan and curve falls as the square of the number of legs.
A route that must go round
Every route on this site so far has been free to go anywhere, and no real route is. The shortest path past a circular exclusion is two tangent great circles and an arc of the rim — a closed form that agrees with a shortest-path search to three metres in 9,598 kilometres — and it costs not the obstacle's size but the square of how far the obstacle reaches past the route.
The shortest route is not at sea level
Ten rungs route on a surface and nothing is ever flown on one. The offset of a sphere is a sphere, so at altitude the great circle is the great circle. The offset of an ellipsoid is not an ellipsoid — its radii of curvature are M + h and N + h, which belong to no ellipsoid — so the shortest route at cruising height does not lie above the shortest route on the ground.
A straight segment is a claim about a plane
Two exact endpoints, joined by a straight line in the plane the file is stored in. On the ground the line is 718 kilometres from the route it claims between New York and London, and 2,961 between London and Tokyo. The departure grows as the square of the length — fitted exponent 2.001 — so a stated tolerance costs vertices as a square root.