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:

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.

celeris-buildings-norway-20261021.zip 1.8 MB ZIP · 126 tiles · 21 October 2026 · ODbL 1.0
Download the database

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:

FieldTypeValue
magic4 bytesCBD1
versionu82
levelu80
chunk gridu816
flagsu80
x, yu16, u16the tile’s column and row
buildingsu32
verticesu32over all buildings
trianglesu32over all buildings
quantumu321000 nanodegrees — positions are whole multiples of 10−6°
height quantumu16100 millimetres — heights are whole multiples of 0.1 m
reservedu160

Everything after it is one raw deflate stream, no zlib header. Unpacked it holds, one after the other:

  1. 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;
  2. 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;
  3. 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;
  4. 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 classRule — H the height above the ground, A the roof’s plan area
3H ≥ 25 m, or a church or historic building with H ≥ 15 m — towers, churches
2H ≥ 12 m or A ≥ 400 m² — blocks of flats, halls
1H ≥ 6 m or A ≥ 50 m² — houses, barns, rorbuer
0everything else — garages, sheds, huts
FlagMeaning
bit 0walls and roof built here from an outline, not a surveyed 3D model — every Norwegian building
bit 1a bridge or viaduct — none in Norway
bit 2one part of a larger building
bits 4–5the 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.