FIELD GUIDE · Tracking & Intel
How the World's Railways Are Mapped
Who actually mapped every railway on Earth?
Zoom out far enough and the world's railways draw a portrait of how each country works. The United States appears as long freight corridors striding between coasts. Russia is a single steel spine — the Trans-Siberian — with ribs branching toward the Arctic. India is a dense mesh stitched through every region. Europe is a tangle so tight the countries blur together. That picture exists on your screen because of one of the internet's quiet marvels: the most complete world railway map ever assembled was built by volunteers.
There is no official world railway map
It sounds like something that should exist in a filing cabinet at the UN, but it doesn't. Every country maps its own railways — its operators, infrastructure agencies and regulators each keep their own records, in their own formats, at their own level of detail, and much of it is never published. Stitching those national sources into one consistent world map has never been done officially.
What filled the gap is OpenStreetMap — the openly-licensed world map that anyone can edit, built over two decades by millions of contributors. Rail attracts some of its most devoted surveyors: hobbyists who walk lines with GPS receivers, trace satellite imagery, and record not just where a track runs but how it's used. Their work is why an open world rail map exists at all, and it is the source behind most railway maps you meet online — including the one on this site.
What "mainline" means, and what gets left out
OpenStreetMap doesn't just draw a line where rails are; surveyors tag each track with what it is. A trunk route that carries through traffic — the kind of line that connects cities — is tagged as main usage. Branch lines, freight yards, sidings, industrial spurs, metros, trams and light rail all carry different tags.
A mainlines-only map, like the railways layer here, filters on that one tag. The choice is deliberate: drawing every siding and yard would bury the corridors under noise. But it has honest consequences worth knowing. A city whose network is mostly subway — think of many large Asian and American metros — can look nearly empty on a mainline map even though millions ride trains there daily. The map is answering a specific question: where do the trunk routes of the world's heavy rail run? Not where are there trains?
Coverage also follows the mapping community itself. North America, Europe, India, Japan and China are surveyed in remarkable detail. Regions with fewer active mappers are thinner — a gap in the map does not always mean a gap on the ground.
Track kilometres vs route kilometres
Here's a subtlety that trips up almost every railway statistic. When a busy line is double-tracked — one track per direction — is that one line or two?
Route kilometres measure the corridor: London to Edinburgh is about 632 km of route no matter how many tracks lie side by side. Track kilometres count each physical track separately, so that same double-tracked corridor counts twice.
OpenStreetMap's surveyors map each physical track as its own line — that's what makes the data precise enough to be useful. But it means any total computed from it is a track-kilometre figure, and always larger than the route figure you'll see in official national statistics. When this site says how many kilometres of mainline it draws, that's the honest label on the number: mapped track, each parallel counted.
Why you see the tracks but not the trains
Open the flights layer on the globe and thousands of aircraft crawl across it in real time. Ships too. So where are the trains?
The difference is a broadcast standard. Aircraft transmit their position continuously over ADS-B, and ships over AIS — open radio protocols that anyone with a cheap receiver can pick up, which is exactly what makes worldwide live flight and ship tracking possible. Trains have no equivalent. There is no universal signal a train emits that the public can receive.
Real-time train positions do exist — but operator by operator, mostly for passenger and transit services, published (where they're published at all) through per-agency data feeds. Freight movements, which dominate networks like America's, are essentially private. So any "live train map" you encounter is a stitched patchwork of individual operator feeds covering a fraction of the world's traffic — never the whole network, and never global the way flights and ships are.
That's why the railways layer here draws the network and stops there: the tracks are the part of the story that can be shown completely and honestly.
Reading the map like a rail nerd
A few things to look for once the layer is on. Find the Trans-Siberian: a single line leaving Moscow and running unbroken to Vladivostok, nine thousand kilometres east — still the longest railway on Earth. Compare India's mesh with Australia's minimalism: one long transcontinental thread across the Nullarbor where India has a line every few dozen kilometres. Notice how in the United States the lines converge on Chicago from every direction — the continent's great rail junction — and how in Europe you can barely find land without a line on it. And notice what's missing where you know trains run: that's the mainline filter at work, telling you that city's railway life happens underground.
Frequently asked questions
Is there an official map of all the world's railways?
No single official one exists. Each country's railways are mapped by its own operators and agencies, in different formats and levels of detail, and much of that data is not public. The most complete open world railway map is OpenStreetMap — built and continuously updated by volunteer surveyors, and the source behind most rail maps you see online, including this one.
What does 'mainline' mean on a railway map?
A mainline is a trunk route that carries a network's through traffic — the lines that connect cities and regions, as opposed to branch lines, freight yards, sidings, or urban metro and tram systems. On OpenStreetMap, surveyors tag these usage=main, and that tag is what a mainlines-only map filters on. It's why a city full of subways can look sparse on a mainline map: urban transit is deliberately out of scope.
What's the difference between track kilometres and route kilometres?
Route kilometres measure the length of the corridor — London to Edinburgh is roughly 632 km of route however many tracks it has. Track kilometres count every parallel track separately, so a double-tracked line counts twice. OpenStreetMap surveys each physical track as its own line, so totals computed from it are track kilometres — the honest label for the figure, and always the larger number.
Why can I see the tracks but not live trains?
Because no worldwide open feed of train positions exists. Aircraft broadcast their position over ADS-B and ships over AIS — open standards anyone can receive, which is what makes global live flight and ship maps possible. Trains have no equivalent. Where real-time positions exist at all, they are published operator by operator, mostly for passenger and transit services, while freight positions are essentially private. Any 'live train map' is a patchwork of those individual feeds, never the whole network.
Which countries have the biggest railway networks?
By route length, the United States has the world's largest network — on the order of 250,000 km, most of it freight. China is second at over 150,000 km and operates by far the world's largest high-speed network. Russia's roughly 85,000 km includes the Trans-Siberian, the longest single railway on Earth, and India's roughly 68,000 km system carries more passengers than almost any other. On a mainlines map you can spot each one's character: America's freight corridors, Russia's single spine, India's dense mesh.
SEE IT LIVE
Everything in this guide is on one real-time map.