Data & licence
3D buildings in Norway
On the Lofoten islands the 3D view draws the fishing villages as they stand — the falu red rorbuer on their posts over the water, the white churches, the houses up the slopes behind the harbours. Their outlines come from OpenStreetMap, their heights were measured on Kartverket’s lidar models, the outlines are under ODbL 1.0, and so is the database made from them.
Like the buildings of the other countries, they travel as data, one small file per sixteenth of a degree, fetched quietly around the place in view and kept on the device afterwards. Elsewhere in Norway there are no 3D buildings yet.
Where they come from, and what was changed
The buildings are derived from OpenStreetMap, © OpenStreetMap contributors, with heights measured on the national height model of Kartverket, Høydedata © Kartverket. This was done to their data:
- Selected — OpenStreetMap’s building ways and multipolygons,
from Geofabrik’s Norway extract of 18 October 2026, whose centre
lies on the Lofoten islands inside 67.80–68.45° N,
12.80–15.00° E: Moskenesøya, Flakstadøya, Vestvågøya, Gimsøya and
Austvågøya. Værøy, Røst and the mainland in the south-east corner of
that box are left out, and so are 20 cabins OpenStreetMap maps over
open water north-north-west of the Eliassen rorbuer at Hamnøy, which
neither the lidar of 2019 nor the surface model of 2024 shows. Of their tags only what shapes or colours a
building is read — its kind, its levels,
roof:shape,building:colourandroof:colour, and for a few the name and the Norwegian building number; no names, no building numbers and no OpenStreetMap ids are kept. 24,348 outlines. - Measured — each outline, in ETRS89 / UTM 33N, on Kartverket’s one-metre models DOM1 and DTM1 from the airborne lidar of 2017–2019: its ground the lowest height of the terrain model under it, its eave and the top of its roof from the surface model inside it, the ridge laid the way the surface runs, and what stands above a roof — a church tower — as a volume of its own. The heights were measured for Celeris; they are not Kartverket’s. NN2000 heights are lowered 0.18 metres to the terrain’s EGM2008. 20,797 of the 24,348 outlines were measured.
- Filled in — the 1,696 buildings the survey does not show, built since or with no surface under them, have the median height of the measured buildings of their kind and size.
- Roofed — with OpenStreetMap’s
roof:shapewhere it is tagged, else with the shape the survey measured. Where nothing measured the roof, rorbuer and boathouses, and houses, barns, shops, churches and other pitched kinds up to 300 m², get a gable of 35°; industrial, technical, historic and larger buildings stay flat. - Coloured — walls and roofs from OpenStreetMap’s
building:colourandroof:colour, taken to the nearest Norwegian colour. Falu red for rorbuer and boathouses — by their tags, and by the building type of Kartverket’s Matrikkel (type 171, rorbu and the like) — and for the small buildings by the water in Reine, Hamnøy, Nusfjord, Å, Ballstad and Henningsvær; white for churches; Flakstad church falu red, Gimsøy church dark wood and Sakrisøy’s cabins ochre. Every other building is picked from Norway’s palettes — white, falu red, ochre, yellow and greys — by a hash of its OpenStreetMap id. - Triangulated, quantised and compressed — walls and roofs triangulated, transformed to WGS84 and skirted 3 metres below the ground; positions to a millionth of a degree, about ten centimetres, and heights to a decimetre, stored as differences, sorted into size classes, 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. The height models are under CC BY 4.0.
Download the derived database
The archive below is the complete machine-readable database offered under ODbL 1.0, as the app loads it: built on 21 October 2026 from OpenStreetMap as of 18 October 2026 and from Kartverket’s DOM1 and DTM1. It holds 24,357 buildings — the 24,348 outlines and nine towers above their roofs — in 126 tiles across four degree cells, N67E012, N67E013, N68E013 and N68E014: the Lofoten islands from Å to Svolvær.
The archive holds a byte-identical copy of the manifest and of every tile
of the four Norwegian cells the app loads, in the folder they have on the
CDN, with LICENCE.txt and a short README.txt. It
is replaced whenever the Norwegian cells are rebuilt or new ones are
published.
SHA-256:
19974e14433e53f176f629e2a493edab45d653ce7d5bcf35cd85b963776e56ed
The manifest
manifest.json says how to read the tiles and what they are:
format (CBD1), version (2) and
suffix (.cbld), layout (3), the
coordinate and height quanta, the sizeClasses and
flags below, the roofTypes and
functionClasses the codes stand for, and the
palettes the colours were picked from. It is the manifest of
all the buildings Celeris draws and names the cells of every country; the
archive holds Norway’s. 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 — for the
Norwegian cell N67E013 w4-no-20261021c, for the other three
w4-no-20261020b. The keys
revision, tiles and tileCount are
the frozen view older versions of the app read, of the folder
europe-20261012, which holds no Norwegian tile; read
cells. licence repeats the terms of every source
— for Norway the licence, the attribution, the change notice 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 buildings, named after its
south west corner (N68E013), 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 buildings there, which is how “nothing built 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 Reine is
w4-no-20261021c/0/3089/2526.cbld in the archive — the same
address the elevation tiles and the street lamps use.
The file format
A tile begins with a 32-byte header in the clear, little endian:
| Field | Type | Value |
|---|---|---|
| magic | 4 bytes | CBD1 |
| version | u8 | 2 |
| level | u8 | 0 |
| chunk grid | u8 | 16 |
| flags | u8 | 0 |
| x, y | u16, u16 | the tile’s column and row |
| buildings | u32 | |
| vertices | u32 | over all buildings |
| triangles | u32 | over all buildings |
| quantum | u32 | 1000 nanodegrees — positions are whole multiples of 10−6° |
| height quantum | u16 | 100 millimetres — heights are whole multiples of 0.1 m |
| reserved | u16 | 0 |
Everything after it is one raw deflate stream, no zlib header. Unpacked it holds, one after the other:
- chunk table, 256 × four varints — for each of the tile’s 16 × 16 chunks, index row × 16 + column, row 0 south: its buildings of size class 3, of class 2 and up, of class 1 and up, and all of them; the buildings follow chunk by chunk, in each the largest class first, so that the first ones are what a distant chunk draws;
- building columns, each over all buildings in that order: vertex count and triangle count, varints; ground, a zigzag varint in 0.1 m from the building before (the first from 0); height above the ground, a varint in 0.1 m; roof type, a byte; function class, a byte; roof colour and wall colour, two bytes each, RGB565; flags, a byte — the table below;
- vertices, building by building, x, y and z per vertex as zigzag varints: x and y in 10−6°, a building’s first vertex from the first vertex of the building before (the first building’s from the tile’s south west corner), every next from the vertex before; z in 0.1 m, the first from the building’s ground, every next from the vertex before;
- triangles, building by building, three varint vertex indices each, counted from the building’s first vertex, counter-clockwise seen from outside.
Varints are the usual little-endian base-128 kind, seven bits to a byte; zigzag maps n to (n << 1) ^ (n >> 63). Heights are metres above the terrain’s datum, EGM2008.
| Size class | Rule — H the height above the ground, A the roof’s plan area |
|---|---|
3 | H ≥ 25 m, or a church or historic building with H ≥ 15 m — towers, churches |
2 | H ≥ 12 m or A ≥ 400 m² — blocks of flats, halls |
1 | H ≥ 6 m or A ≥ 50 m² — houses, barns, rorbuer |
0 | everything else — garages, sheds, huts |
| Flag | Meaning |
|---|---|
| bit 0 | walls and roof built here from an outline, not a surveyed 3D model — every Norwegian building |
| bit 1 | a bridge or viaduct — none in Norway |
| bit 2 | one part of a larger building |
| bits 4–5 | the size class |
The class numbers, flags and codes 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 picture of Reine with these buildings in it — is a Produced Work and owes the attributions alone.
The heights were measured on Kartverket’s DOM1 and DTM1, which are available under Creative Commons Attribution 4.0 (CC BY 4.0): whoever passes the tiles on or shows them names Høydedata © Kartverket as well, and that the data were changed. Which buildings are rorbuer was also read from the building types of Kartverket’s Matrikkel (© Kartverket, CC BY 4.0); no point, number or type of the Matrikkel is in the tiles.
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 outlines come from is at
openstreetmap.org/copyright.
Attribution, as the app gives it:
© OpenStreetMap contributors, ODbL 1.0; heights: Høydedata © Kartverket (DOM1, DTM1), CC BY 4.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, railways and paths, the street lamps, the 3D buildings in Japan, the 3D buildings in Iceland, the rivers and streams, the lighthouses and navigation lights, the summit crosses, the waterfalls and the elevation data. All sources together are listed under Sources & licences.