Data & licence
Roads
After dusk the 3D view puts headlights and tail lights on the roads in view — the motorway chains in the plain, the one car winding up a valley road — and by day the same roads show as a light band of asphalt with a clearing through the forest. The roads come from OpenStreetMap, they are under ODbL 1.0, and so is the database made from them.
Like the places on the map, the roads travel as data, one file per degree of ground, fetched quietly when the view moves into a region and kept on the device afterwards. Where none have been fetched, the landscape is drawn as before and the villages keep their own few cars.
Where they come from, and what was changed
The roads are derived from OpenStreetMap, © OpenStreetMap contributors. This was done to them:
- Selected — the ways tagged
highway=motorway,trunk,primary,secondaryandtertiaryand their_linkramps. Of their tags only direction, roundabout, lanes, speed limit, bridge, tunnel, layer and the road number are kept; no names and no OpenStreetMap ids. - Assigned a country — each way at its middle vertex, against the Natural Earth borders, so that a car knows which side to keep to and how busy its country's roads are.
- Joined — ways into longer chains where exactly two ends meet and class, direction, number, roundabout and country agree.
- Clipped — to cells of one degree, each reaching 0.002° past its edge so that a road crossing the border has no gap.
- Simplified — to within 3 metres (25 metres inside tunnels, where nothing is drawn), with the ends of every bridge and tunnel kept in place.
- Quantised and compressed — coordinates to a hundred-thousandth of a degree, about a metre, stored as differences and packed with raw deflate.
The source is available under the Open Database License (ODbL) 1.0, and so is this derived database.
Download the derived database
The archive below is the complete machine-readable database offered under ODbL 1.0: revision 20261001, built from OpenStreetMap on 1 October 2026. It holds 7,407 degree cells — every degree the elevation data cover, from 56° south to 84° north, Europe and the Americas and their neighbours — of which 5,017 carry roads: 7.3 million polylines, some 8.1 million kilometres.
The archive holds a byte-identical copy of the manifest and of every cell
the app loads for this revision, with LICENCE.txt and a short
README.txt. It is replaced when a new revision is published.
SHA-256:
f435cd59bfd298378b1d338cf0b91e3782d59474a54c374d2f5df874e6075ccb
The manifest
manifest.json says how to read the cells and what they are:
format (2) and suffix (.croad),
the revision, the coordinate quantum
(quantumExponent, 5), the overlap and the two simplification
tolerances, and classes, the table of road classes below.
licence repeats the terms — licence, attribution, obligations
and a link to the source — so that a copy of the cells found anywhere still
says what it is. coverage is a bitmap of the degree cells that
have been built: 180 rows of 360 columns, one bit each, 8100 bytes, base64.
The bit for the cell whose south west corner sits at a whole degree is
number
(latitude + 90) × 360 + (longitude + 180),
counted from the least significant bit of the first byte upwards. Where it
is set, the file exists — a covered degree without a single classified road
is a 26-byte empty cell, which is how “no roads here” differs from “no data
here”.
countries holds, per ISO 3166 code, the two things a cell
leaves to the manifest: drivesLeft and factor,
the number every traffic density is multiplied by in that country (below).
countryFactors records how and when the factors were computed.
How a cell is named
After its south west corner: N or S and two
digits of latitude, then E or W and three digits
of longitude. The degree holding Heidelberg and Mannheim is
N49E008, and its file in the archive is
cells/N49E008.croad. It is the same name the elevation tiles
and the points of interest use, so a degree of ground has one name across
the whole project.
The file format
A cell begins with a 24-byte header in the clear, little endian:
| Field | Type | Value |
|---|---|---|
| magic | 4 bytes | CRD1 |
| version | u8 | 2 |
| quantum | u8 | 5 — coordinates are whole multiples of 10−5° |
| lat0, lon0 | i16, i16 | the south west corner in degrees |
| overlap | u16 | in quanta; 200 = 0.002° |
| polylines | u32 | |
| points | u32 | the sum over all polylines |
| refs | u16 | entries in the road number table |
| countries | u16 | entries in the country table |
Everything after it is one raw deflate stream, no zlib header. Unpacked it holds columns, one after the other, each covering every polyline (or every run) before the next begins:
- class, a byte per polyline — the table below;
- flags, a byte per polyline — bit 0 one-way (cars only in point
order;
oneway=-1is turned round at build time, motorways and roundabouts imply it), bit 1 roundabout; - ref, a varint per polyline — 0 none, else 1 + an index into the road number table;
- country, a byte per polyline — 0 unknown, else 1 + an index into the country table;
- points, a varint per polyline — at least 2;
- runs, a varint per polyline — at least 1. A run is a stretch of segments with the same attributes;
- run length, a varint per run — segments in it; a polyline’s runs add up to its points minus one;
- run flags, a byte per run — bit 0 bridge, bit 1 tunnel, bit 2 cutting (below ground level without a tunnel), bit 3 elevated (above ground level without a bridge);
- run lanes, a byte per run — 0 unknown;
- run maxspeed, a byte per run — km/h, 0 unknown, 254 no limit;
- coordinates — per polyline, the first point as two zigzag varints (Δlatitude, Δlongitude in quanta) from the cell’s south west corner, every next point as zigzag varint differences from the one before;
- road number table — per entry a varint byte length and that many bytes of UTF-8;
- country table — per entry two ASCII bytes, ISO 3166-1
alpha-2, sorted. What a code means for the traffic is the manifest’s
countriestable.
Polylines are sorted by class and start point. Varints are the usual little-endian base-128 kind, seven bits to a byte.
| Class | OpenStreetMap highway= |
|---|---|
0 | motorway |
1 | trunk |
2 | primary |
3 | secondary |
4 | tertiary |
5–9 | the same five as _link ramps, in the same order |
The class numbers are the wire format and are never renumbered; a change to the layout is a new format version.
How busy a road is
The cells say where the roads run, not how many cars drive on them. That comes from a small table the app carries: the median hourly flow per direction on German motorways, trunk and primary roads, taken from the finalised 2024 hourly counts of the federal counting stations of the Bundesanstalt für Straßen- und Verkehrswesen (BASt), matched to the road classes, and divided by a speed per class. Secondary roads carry half the primary flow, from the ratio of the permanent counters on state and federal roads in Baden-Württemberg (MobiData BW, June 2026); tertiary roads a quarter and ramps a tenth of their class, both estimates. Only these medians are used; no count is in the app or in the archive.
Outside Germany the table is multiplied by the country’s
factor in the manifest: the passenger cars living in the part
of the country the data cover, against the cars the German table would put
on that country’s classified roads, relative to Germany and clamped to
0.4–1.5. The cars per inhabitant come from Eurostat for the EU, EFTA and
candidate countries and, elsewhere, from a curve in GDP per head fitted to
them; population, land area and GDP per head from the World Bank’s World
Development Indicators; the covered land from the Natural Earth borders.
The cars drawn are a model, not observed traffic.
Licence
OpenStreetMap is available under the Open Database License (ODbL) 1.0, and these cells are a derivative database, so share-alike applies to them and not merely attribution. Anyone redistributing the cells, modified or not, has to do so under ODbL 1.0 and carry the attribution © OpenStreetMap contributors. Anything that merely displays them — a night picture with these cars in it — is a Produced Work and owes the attribution alone.
Those terms travel in the archive’s manifest.json,
README.txt and LICENCE.txt as well as standing
here. The full copyright notice of the project the data come from is at
openstreetmap.org/copyright.
The sources of the traffic model
| Source | Used for | Licence |
|---|---|---|
| Bundesanstalt für Straßen- und Verkehrswesen (BASt), automatic counting stations, finalised hourly values 2024 | Median flow per hour and road class | CC BY 4.0 |
| Land Baden-Württemberg, MobiData BW, permanent counters, June 2026 | Ratio of secondary to primary roads | dl-de/by-2-0 |
Eurostat, passenger cars per 1,000 inhabitants (road_eqs_carhab) |
Country factors — EU, EFTA and candidate countries only | Eurostat reuse policy |
| World Bank, World Development Indicators: population, land area, GDP per head (PPP) | Country factors | CC BY 4.0 |
| Natural Earth, admin-0 countries 1:10m | The country of each road, the covered land | Public domain |
The counts were reduced to medians per road class and hour and the statistics to one factor per country; nothing of the BASt or MobiData BW records is passed on. Natural Earth asks for nothing and is named all the same.
Attribution, as the app gives it:
Roads derived from OpenStreetMap, © OpenStreetMap contributors, ODbL 1.0. Traffic densities calibrated against the hourly counts of the Bundesanstalt für Straßen- und Verkehrswesen (BASt), CC BY 4.0, and of the Land Baden-Württemberg (MobiData BW), dl-de/by-2-0, and scaled per country with Eurostat’s passenger car statistics and the World Bank’s World Development Indicators, CC BY 4.0. Borders from Natural Earth. Data changed.
The other data Celeris carries have pages of their own: the star catalogue, the lens catalogue, the time zone boundaries, the points of interest, the street lamps and the elevation data. All sources together are listed under Sources & licences.