Cognised existence: A building is a roofed, permanent physical structure that shelters human activity. It has use, age, size, and technical characteristics — and it occupies space, but its geometry may come from different sources than its attributes.

Question: What buildings exist at a location and what are their characteristics?

What is a Building?

A building combines two kinds of data: registry attributes (what it is, when it was built, how it’s used) and geometric footprint (its shape on the ground). These often come from different datasets. Understanding which to query depends on what you need.


Realisations

1. BygningerOgBoliger (BBR) — Attributes

BBR is the national building and housing register. It carries detailed attributes but no native geometry. Geometry arrives via joins.

Spatial Access Path

bygning (building with attributes)
  │  FK: bygning → grund → jordstykke (via Matrikel)
  │  OR: bygning → adresse → husnummer → adgangspunkt (via DAR)
  ▼
Two routes to geometry:
  Route A: grund → jordstykke.geometri (parcel footprint — approximate)
  Route B: husnummer → adgangspunkt.position (point — geocoded)
  Route C: Join to GeoDanmark bygning via shared identifier (precise footprint)

Entity Hierarchy

EntityRole
bygningThe building: use code, construction year, area, floors, heating
enhedDwelling or commercial unit within a building
etageFloor level
opgangStaircase / entrance
grundGround parcel the building sits on
tekniskanlægTechnical installations (heating plants, solar panels)

Key Attributes

AttributeDescription
byg_anvendelseBuilding use code (residential, commercial, industrial, public)
byg_opfoerelsesaarYear of construction
byg_arealArea in m² (footprint, gross, net variants)
byg_antal_etagerNumber of floors
byg_varmeinstallationHeating type (district heating, gas, electric)

2. GeoDanmark — Geometry

GeoDanmark provides the authoritative building footprint polygons as part of the national topographic dataset. These are photogrammetrically measured outlines.

Spatial Access Path

GeoDanmark.bygning → polygon geometry (direct, no joins needed)

Join to BBR: Match GeoDanmark footprints to BBR buildings via shared spatial location or building identifier to combine attributes + geometry.

3. OpenStreetMap

OSM contains building footprints with basic attributes.

OSM TagBBR Equivalent
building=yes/residential/commercial/...byg_anvendelse
building:levelsbyg_antal_etager
start_datebyg_opfoerelsesaar

Spatial access: Direct polygon geometry on the building way. Less detailed attributes than BBR but openly available.


Geometry Representations

A building query must declare which geometric encoding is used. These representations are not interchangeable.

Rep IDSource DatasetGeometry TypeNative CRSField PathSuitable ForNot Suitable For
buildings_bbr_centroidBBR (BBR_Bygning)PointEPSG:25832byg404Koordinat.wktDensity mapping, point-in-polygon queries, proximity countsArea statistics, footprint overlap, spatial join to polygon layers
buildings_geodanmark_footprintGeoDanmarkPolygonEPSG:25832geometriArea calculation, footprint overlap, visual representation, join to BBR attributesNetwork routing
buildings_dar_address_pointDAR (husnummer.adgangspunkt)PointEPSG:25832adgangspunkt.positionGeocoding, address-level mappingBuilding-specific attributes (requires join back to BBR via husnummer)
buildings_osm_footprintOpenStreetMapPolygonWGS84way geometryGeneral mapping, open-data contextsOfficial Danish register accuracy, bitemporal analysis

Default assumption is wrong: BBR centroid is the easiest geometry to extract but is not suitable for area statistics, shadow/solar analysis, or any operation requiring the building outline. If the question involves shape, size, or spatial overlap — select buildings_geodanmark_footprint and join to BBR for attributes.


Classical Theme References

StandardThemeLink
ISO 19115Structure|Structure
INSPIREBuildings|Buildings
UN-GGIMBuildings and Settlements|Buildings and Settlements

Temporal Model

Bitemporal in BBR. GeoDanmark footprints are updated periodically (annual campaign). Historical building states via virkningFra/virkningTil in BBR.

Unmatched Realisations

  • OpenStreetMap

Unmatched Realisations

  • OpenStreetMap