Data & licence
Street lamps
Where the 3D view draws the surveyed buildings, the night lights their towns with street lamps along the real streets — kerbside, every thirty metres or so, taller along the main roads, each street in one light. The lamps are placed along OpenStreetMap’s streets, the ones OpenStreetMap knows stand where they stand, they are under ODbL 1.0, and so is the database made from them.
Like the roads, the lamps travel as data, one small file per sixteenth of a degree, fetched quietly with the buildings around the place in view and kept on the device afterwards. Where there are none, the land is lit as before.
Where they come from, and what was changed
The lamps are derived from OpenStreetMap, © OpenStreetMap contributors. This was done to its data:
- Selected — the ways tagged
highway=residential,living_street,pedestrian,unclassified,service,tertiary,secondary,primaryandtrunk(with their_linkramps) and lit motorways, and everyhighway=street_lampnode. Of their tags only what decides a lamp is read — lit, tunnel, covered, bridge, service, access, one-way, junction, lanes and a lamp’s height; no names and no OpenStreetMap ids are kept. - Left dark — tunnels, bridges, areas, ways tagged
lit=no, driveways, parking aisles and private service roads, and motorways that are not lit. Footways, cycleways, paths and tracks get no lamps of their own; a mapped lamp beside them stays. - Placed — along each way, evenly spaced: every 30 metres along residential and other small streets, 45 metres along service roads, 35 metres along tertiary roads and up; half the carriageway and a metre out from the middle of the way, on alternating sides in residential streets. A lamp stands 4.5, 8 or 10 metres tall by the street and its width. The lamps of one way share one light: warm LED, sodium or neutral LED, chosen from the way’s id.
- Replaced by the real ones — a mapped lamp stands instead of the placed ones within 20 metres of it, and of two lamps closer than 12 metres one goes.
- Kept only near buildings — a lamp stays only within 35 metres of a building of the official building models and outlines of the German Länder, of Switzerland and Liechtenstein (swisstopo), of Luxembourg, of France (IGN), Austria (BEV), Poland (GUGiK), Estonia, Slovakia, Wallonia, Brussels and Flanders, South Tyrol, Czechia (ČÚZK), Denmark (GeoDanmark and BBR), Slovenia (its real estate cadastre) and Spain (the Catastro, Navarra and Bizkaia), of 3DBAG for the Netherlands, built by TU Delft and 3DGI from the official building register and height model, and in the United States of FEMA’s and ORNL’s USA Structures and the models of New York City, Connecticut, Rhode Island, San Francisco, Boston and Washington, D.C. (houses and larger; not bridges, garages or sheds). The building models were used only to decide which lamps to keep: no building geometry and no building attribute is in the lamp tiles.
- Quantised and compressed — positions to a millionth of a degree, about ten centimetres, stored as differences, one file per sixteenth of a degree, 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, as the app loads it on 19 October 2026: built from OpenStreetMap as of 1 October 2026, the Netherlands as of 6 October, France, Austria, Poland, Estonia, Slovakia, Belgium and South Tyrol as of 8 October, the United States as of 9 October and Slovenia, Denmark, Czechia and Spain as of 13 October 2026. It holds 164,704,237 lamps, 3,058,078 of them mapped one by one in OpenStreetMap, in 225,747 tiles across 1,505 degree cells — Germany, Switzerland, Liechtenstein, Luxembourg, the Netherlands, France with Corsica, Austria, Poland, Estonia, Slovakia, Belgium, South Tyrol, Slovenia, Denmark, Czechia, Spain with the Canary Islands, Ceuta and Melilla, and the United States, wherever the building models of these countries’ surveys, of 3DBAG and of USA Structures stand.
The archive holds a byte-identical copy of the manifest and of every tile
the app loads, in the folders they have on the CDN, with
LICENCE.txt and a short README.txt. It is
replaced whenever new cells are published.
SHA-256:
25d9064edb8bfe45722a2fbe670bd8de78d78f83c6103e30b6369b106868c9b4
The manifest
manifest.json says how to read the tiles and what they are:
format (CLP1), version (1) and
suffix (.clmp), layout (3), the
coordinate quantum, the heightClasses and
colourClasses below, and placement, every
distance and street rule above. Each degree cell is built and published
as a whole, and a newer build of a cell goes into a folder of its own:
cells names, per cell, the folder its tiles are in. The keys
revision, tiles, tileCount and
buildings are the frozen view older versions of the app read,
of the folder europe-20261012; read cells.
licence repeats the terms — licence, attribution, obligations
and a link to this page — so that a copy of the tiles 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.
cells holds, per covered cell with lamps, named after its south
west corner (N50E006), its folder (revision) and
in tiles 32 bytes of base64: one bit for each of its 256 tiles, bit row × 16 + column, row 0 the
southern sixteenth, column 0 the western, least significant bit first.
Where the bit is set, the tile exists; a covered cell without the bit has
no lamps there, which is how “dark here” differs from “no data here”.
How a tile is named
A tile spans a sixteenth of a degree each way and is named after its column
and row: x = floor((longitude + 180) × 16),
y = floor((latitude + 90) × 16), y growing
northwards, and lies in its cell’s folder: the tile around Cologne
cathedral is europe-20261012/0/2991/2255.clmp in the archive
— the same address the elevation tiles and the buildings use.
The file format
A tile begins with a 24-byte header in the clear, little endian:
| Field | Type | Value |
|---|---|---|
| magic | 4 bytes | CLP1 |
| version | u8 | 1 |
| level | u8 | 0 |
| chunk grid | u8 | 16 |
| flags | u8 | 0 |
| x, y | u16, u16 | the tile’s column and row |
| lamps | u32 | |
| quantum | u32 | 1000 nanodegrees — positions are whole multiples of 10−6° |
| reserved | u32 | 0 |
Everything after it is one raw deflate stream, no zlib header. Unpacked it holds, one after the other:
- chunk counts, 256 varints — the lamps of each of the tile’s 16 × 16 chunks, index row × 16 + column, row 0 south; the lamps follow chunk by chunk;
- height class, a byte per lamp — the table below;
- colour class, a byte per lamp — the table below;
- flags, a byte per lamp — bit 0 a lamp mapped in OpenStreetMap, the other bits 0;
- positions, per lamp x and then y as zigzag varints in 10−6° from the tile’s south west corner, the first lamp from (0, 0), every next from the lamp before.
Varints are the usual little-endian base-128 kind, seven bits to a byte.
| Class | Height | Colour |
|---|---|---|
0 | 4.5 m — residential streets | warm LED, 3000 K (255, 180, 107) |
1 | 8 m — main roads | sodium, 2000 K (255, 137, 18) |
2 | 10 m — wide roads | neutral LED, 4000 K (255, 209, 163) |
The class numbers are the wire format and are never renumbered; a change to the layout is a new format version.
Licence
OpenStreetMap is available under the Open Database License (ODbL) 1.0, and these tiles are a derivative database, so share-alike applies to them and not merely attribution. Anyone redistributing the tiles, 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 lamps in it — is a Produced Work and owes the attribution alone.
The building models and outlines of the Länder, of swisstopo, of Luxembourg, of IGN, BEV, GUGiK, Estonia, Slovakia, Wallonia, Brussels, Flanders and South Tyrol, of ČÚZK, GeoDanmark and BBR, of Slovenia’s cadastre, of the Catastro, Navarra and Bizkaia, of 3DBAG and of the United States’ sources decided only which lamps are kept; none of their data is in the tiles or in the archive, so their licences do not travel with this database. The buildings themselves are named, with their sources’ attributions, where the app draws them.
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.
Attribution, as the app gives it:
© OpenStreetMap contributors, ODbL 1.0.
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 roads and the elevation data. All sources together are listed under Sources & licences.