Emerging Technologies

How scientists are using algorithms to calculate the world’s longest straight lines

A visitor places her hands on a "Tangible Earth", a digital globe which real time global metrological data is fed through the Internet from about 300 places in the world, is displayed at an exhibition pavillion inside the media centre for G8 Hokkaido Toyako Summit in Rusustu town, on Japan's northern island of Hokkaido July 6, 2008.  REUTERS/Yuriko Nakao (JAPAN)  FOR BEST QUALITY IMAGE ALSO SEE: GM1E57T1A6B01 - GF2E47609DI01

Walking the world. Image: REUTERS/Yuriko Nakao

Frank Jacobs

What connects the Chinese port of Quanzhou with Sagres, a tiny parish in southern Portugal? No, it's not the New Silk Route, the Sino-European rail link inaugurated in 2017 (1). The answer is so arcane that it will surprise most inhabitants of either place: they are the extreme points of the world's longest straight line over land (2).

Following the course of that line would require directional rectitude of the highest degree. Travellers would have to forgo the relative comfort of well-worn roads and mountain passes and traverse daunting peaks and inhospitable deserts – not to mention innumerable private houses and public buildings.

Suggested route

 Longest sailable straight line on Earth, as suggested by Reddit user kepleronlyknows.
Longest sailable straight line on Earth, as suggested by Reddit user kepleronlyknows. Image: Reddit

They would cross 15 countries; skirting Madrid and Switzerland's alpine highlands; cutting off a corner of Austria and passing just north of Auschwitz in Poland; barely touching Ukraine and slicing through Belarus; travelling through Russia and Kazakhstan before hitting China and reaching the Formosa Strait; but not before dipping into Mongolia twice.

Because the globe is round and this map is not, the world's longest straight line over land – like all others long enough – looks like a bendy one on this image. For anyone walking the line, though, it would have been straight as a ruler, and, at the end of that trip, close to 20,000 miles long.

Threading the needle

 Algorithmically correct: the world's longest sailable straight line goes from Pakistan to Kamchatka
Algorithmically correct: the world's longest sailable straight line goes from Pakistan to Kamchatka Image: Chabukswar & Mukherjee

The world's longest straight line on land was calculated by researchers Rohan Chabukswar of the United Technologies Research Centre (UTRC) in Cork (Ireland) and Kushal Mukherjee at IBM's Research Laboratory in New Delhi (India).
In a paper published in 2018 (and last updated on 25 December), they set out their solution to the question of finding the world's longest straight lines over land and at sea. That question sounds simple enough, but isn't: "This is an optimisation problem, rendered chaotic by the presence of islands and lakes, and indeed the fractal nature of the coasts".

They were prompted by a map that had raised a lot of discussion since its first publication on Reddit in 2012. Posted by user kepleronlyknows, it purports to show the longest possible straight-line sailing route in the world: from Pakistan to Kamchatka, threading the needle twice – through the Mozambique Strait separating Madagascar from the African mainland, and via the Drake Passage between South America and Antarctica.

Walk this way

A long walk indeed, but a straight one: Portugal to China
A long walk indeed, but a straight one: Portugal to China Image: Chabukswar & Mukherjee

Commenters have since sought to prove or disprove the longest straight-line sea route, and the analogous route over land. Suggested but disproved longer routes include two nautical ones: from Norway to Antarctica – a valid route, but not in fact as long as the Pakistan to Kamchatka one; and from Québec to British Columbia, which turns out not to be a perfectly straight line.

One suggested longer overland route leads from from Wenling in China to Greenville in Liberia. But this line crosses the Dead Sea and if, as the authors say, that qualifies as a 'major body of water', it disqualifies the route as being entirely over land.

Have you read?

European leg

 Strangely enough, the direction from Portugal to China is due northeast
Strangely enough, the direction from Portugal to China is due northeast Image: Google Earth

So Messrs. Chabukswar and Mukherjee decided to put the issue through a scientific wrangler. Instead of conducting an exhaustive search of all possible routes – more than 233 million great circles (3), as the authors suggest - they calculated the two paths using a so-called branch-and-bound algorithm.

They found that the original poster on Reddit was right: the longest sailable straight-line path does connect Pakistan to Kamchatka. To be precise, it links Sonmiani (25°17′ N, 66°40′ E), a coastal town (4) approximately 90 miles (145 km) northwest of Karachi, with an unnamed location in the Karaginsky District (58°37′ N, 162°14′ E), a virtually uninhabited part in the north of the Kamchatka peninsula. The path is almost 20,000 miles long (to be precise: 19,939.8 miles, or 32,090 km).

Asian leg

 Steppe by steppe...
Steppe by steppe... Image: Google Earth

The same algorithm was let loose on the dry-land variety of the straight-line question. Here, the answer links a point near Sagres (37°2′ N 8°55′ W) to a point in the south of the greater Quanzhou metro area (24◦33′ N, 118◦38′ E). The distance covered is much smaller than the longest straight line at sea: just short of 7,000 miles (6,984.8 miles, or 11,241 km).

The researchers formulate a few theoretical caveats to their result, and one practical one: "The problem was approached as a purely mathematical exercise. The authors do not recommend sailing or driving along the found paths".

There is hope, however, for whoever had their heart set on long straight-line travels. Here are a few of the world's longest straight-line roads (5):

1. Highway 10 (Saudi Arabia): 159 miles (256 km)

There is little remarkable about either Haradh or Al Batha, two dusty towns in Saudi Arabia's Rub-al-Khali desert, or the featureless distance between them. Except that almost that entire stretch is traversed by a dead-straight road. Leaving the oil town of Haradh in the interior of the country, Saudi Highway 10 heads due east in a curveless line for 159 miles (256 km), bending slightly before entering Al Batha, near the Gulf coast and the Saudi border with the United Arab Emirates. That makes Highway 10 the longest straight stretch of road in the world.

2. US-54 (United States): 108 miles (173 km)

In its entirety, US Route 54 runs from Griggsville, Illinois to El Paso, Texas, covering 1,197 miles (2,115 km). For 108 miles, from Liberal, Kansas to Dalhart, Texas, US-54 runs in a virtually straight line (passing through Oklahoma as well). There are a few slight kinks in over the course of 54's 'straight' trajectory, though.

3. Eyre Highway, Australia (90 miles, 145.6 km)

The entire Eyre Highway is 1,030 miles (1,660 km) long, linking Norseman in Western Australia to Port Augusta in South Australia across the deserted Nullarbor Plain. It is part of Highway 1 that connects Perth to Adelaide, and the only 'sealed' road between both states. Between Balladonia and Caiguna, the road is completely straight for 90 miles – the longest stretch of straight road in Australia, commonly known as '90 Mile Straight'.

Longest Straight Line Paths on Water or Land on the Earth, the paper by Rohan Chabukswar and Kushal Mukherjee, can be accessed here at arxiv.org.

(1) A 7,500-mile (12,000-km) China Railway cargo service from Yiwu, calling on Hamburg, London and Madrid. The service could become part of China's wider Belt and Road Initiative: a massive infrastructure project connecting Chinese manufacturing to its markets in Europe and elsewhere.

(2) Perhaps the 1,000-odd inhabitants of Sagres, the westernmost point on the European road network, will be less surprised. Sagres also is a terminus of the longest (non-straight) driveable distance between two points on earth. The other one is Khasan, a Russian city on the North Korean border, and the eastern terminus of that country's road network. The route connecting both places is 8,726 miles (14,043 km) long.

(3) A great circle or orthodrome is the largest circle that can be drawn on a spherical object.

(4) Sonmiani is also notable as the northernmost point of the Arabian Sea, a seaside resort for Karachiites and a launch site for the Pakistani space agency.

(5) Most so-called straight roads have slight curves, hence the many differing lists.

Don't miss any update on this topic

Create a free account and access your personalized content collection with our latest publications and analyses.

Sign up for free

License and Republishing

World Economic Forum articles may be republished in accordance with the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Public License, and in accordance with our Terms of Use.

The views expressed in this article are those of the author alone and not the World Economic Forum.

Stay up to date:

Digital Communications

Share:
The Big Picture
Explore and monitor how Digital Communications is affecting economies, industries and global issues
World Economic Forum logo

Forum Stories newsletter

Bringing you weekly curated insights and analysis on the global issues that matter.

Subscribe today

1:40

This bionic leg just won a top prize

The top technology stories from 2024

About us

Engage with us

  • Sign in
  • Partner with us
  • Become a member
  • Sign up for our press releases
  • Subscribe to our newsletters
  • Contact us

Quick links

Language editions

Privacy Policy & Terms of Service

Sitemap

© 2024 World Economic Forum