Home / Projects / Lagos in Layers

3D web mapping · Urban growth · Lagos State

Lagos in Layers: Every Building in Lagos State in 3D

An interactive 3D map of all 2,176,483 buildings in Lagos State, each coloured by the period it was built and by its height, and set in the history that shaped the city. Users can replay five decades of growth, filter the skyline by floors, explore sourced history layers, and walk the streets at eye level, all in the browser.

2,176,483
Buildings rendered in 3D across all 20 LGAs
42.7%
Of today's building stock added between 2016 and 2025
96.8%
Of buildings are one or two storeys
19
Sourced history layers in 9 themes, plus a 20-question quiz

Personal, non-commercial project. Inspired by Alex Barakov's LAYRS: Amsterdam and Sasha Bogachev's Paris, building by building, scaled up to a city more than ten times larger. Construction periods are a satellite-evidence ranking calibrated to official housing-stock totals, not a surveyed register of building ages (see Limitations).

Overview

Lagos is one of the fastest-growing cities in the world, but its growth is usually described in population figures and aerial photos rather than building by building. Amsterdam and Paris have open registers that record when every building was built, and both have been turned into striking 3D maps. Lagos has no such register.

This project builds the Lagos equivalent from open satellite and mapping data. Every building footprint in the state is extruded to its estimated height and placed in one of five development periods, from colonial and early-independence Lagos to the post-2016 boom along the Lekki corridor and at Eko Atlantic. The period totals match the housing-stock estimates in the 2025 State of Lagos Housing Market Report, so the map adds up to a published figure rather than an arbitrary count.

On top of the buildings sit sourced history layers: Old Eko, the Brazilian Quarter, the Badagry slave route, the Independence era, Fela's Lagos, Makoko and the water city, land reclaimed from the lagoon, and the new edge of the city. The result is a public, explorable record of how Lagos was built, for planners, students, researchers and residents.

Problem statement

Understanding where and when a city grew is basic evidence for housing policy, infrastructure planning, flood-risk work and heritage protection. In Lagos that evidence is scattered. There is no public register of construction years, building heights are mapped for only a fraction of structures, and the open building datasets that do exist (Overture Maps, Google Open Buildings, Microsoft building footprints) arrive as tens of gigabytes of raw files that few people can open.

Even where the data is available, a city of more than two million buildings is too large for ordinary web maps, which slow down or crash long before that size. The challenge was twofold: estimate a defensible age and height for every building from open data, and deliver the result as a fast, intuitive map that runs in a normal browser on a laptop or phone.

Study area and rationale

The map covers the whole of Lagos State: all 20 Local Government Areas and about 3,500 km² of land, from Badagry in the west to Epe and the Lekki Free Trade Zone in the east. The whole state was chosen, rather than the Island alone, because the story of Lagos is its expansion: the old core on Lagos Island, the mainland suburbs of the 1970s–1990s, and the newer belts along the Lekki–Epe Expressway, Ikorodu and the Lagos–Badagry corridor.

ZoneCharacterWhat the map shows
Lagos Island, Ikoyi, Victoria IslandColonial core and the central business districtThe oldest fabric and nearly all of the state's towers
Mainland (Ikeja, Surulere, Mushin, Yaba)Dense post-independence growth and the state capitalMass low-rise expansion from 1976 to 2010
Lekki corridor and Eko AtlanticPlanned estates and land reclaimed from the seaConcentrated post-2011 construction
Outer LGAs (Ikorodu, Alimosho, Badagry, Epe)Peri-urban frontierLarge areas of recent building at the edge of the metropolis

Objectives

  1. Assemble a single, clean footprint layer for every building in Lagos State from open data.
  2. Estimate each building's height and the period in which it was built, and calibrate the period totals to the official 2025 housing-stock estimate.
  3. Render all 2.18 million buildings in 3D in a standard web browser, with smooth navigation from the whole state down to street level.
  4. Connect the buildings to the city's history through sourced, themed layers, guided tours and landmark cards.
  5. Make the result public, free and easy to explore for non-specialists.

Data & sources

DatasetSourceUse
Building footprints (2.23 million before filtering)Overture Maps buildings, release 2026-09-23 (merges OpenStreetMap, Google Open Buildings and Microsoft ML Buildings); ODbL / CC BY 4.0Geometry of every building
Building presence by year and height, 2016–2023Google Open Buildings 2.5D Temporal; CC BY 4.0First year each building appears; most heights
Built-up surface, 1975–2020 (100 m)GHSL, European Commission Joint Research CentreWhen the surrounding area was first built up
Settlement extent, 1985–2015 (30 m)World Settlement Footprint Evolution, DLRYear of first settlement at finer resolution
Housing stock by period2025 State of Lagos Housing Market ReportPeriod totals that the map is calibrated to
LGA boundaries, land, water, roads, placesOverture Maps divisions, base, transportation and places themesBasemap, labels, search and thematic layers
Street-level photos (2,491 landmarks)Mapillary contributors; CC BY-SA 4.0, credited on each cardPhotos on building cards
Landmark historiesWikipedia and the sources linked on each storyHistory layers, tours and quiz

All processing used open data only. Every dataset keeps its original licence, and each story on the map links to its source.

Interactive map

Drag to move, scroll to zoom and use the buttons on the right to tilt and turn. Press play on the timeline to watch the city grow, switch to Height to read the skyline, or open Stories and pick a layer. On any landmark card, Panorama drops you to street level. The map is best on a laptop or desktop; open it full screen for the full experience.

Features

FeatureWhat it does
Year view and timelineColours buildings by five development periods. The timeline replays growth year by year, with buildings rising as they appear. Clicking a period isolates it.
Height viewColours buildings by estimated floors (about 3.2 m per floor), in nine classes from 1–2 storeys to 13 and more. Clicking a class isolates it.
Stories19 themed layers in 9 themes (colonial Lagos, the slave trade, independence, faith, learning and health, arts and music, trade, water and land, the modern city) that highlight their buildings and grey out the rest.
Building cardsPeriod or documented year, height, footprint area, LGA, Wikipedia summary, a street-level photo where one exists, and buttons for Google Maps and Panorama.
PanoramaStreet-level view inside the 3D model. Walk with W A S D or the arrow keys, or click the street ahead; buildings act as solid walls.
Tours and ConnectionsGuided walks through a story layer (for example the Badagry slave route), and a network of 61 people, events and organisations linked to the buildings they touched.
Eko QuestA two-round, 20-question quiz. Read the clue, type the place, and the map flies there. Spelling slips are forgiven; hints cost points.
SearchFind any landmark, area or LGA and fly straight to it.

Methodology

Overture footprints→Clip to 20 LGAs→Sample Google 2.5D (year, height)→ Sample GHSL + WSF (area history)→Rank by age evidence→Fill report period totals→ Story layers→5 km binary chunks→three.js viewer
  1. Footprints: Overture Maps buildings were downloaded and clipped to the 20 LGA boundaries, giving about 2.23 million footprints. Fewer than 0.1% overlap one another, so the merged layer can be used without de-duplication.
  2. Height: each footprint takes its height from Overture where it is mapped, otherwise from Google Open Buildings 2.5D (2023). Floors are estimated at about 3.2 m per storey.
  3. Age evidence: each footprint was sampled against three time series: the first year it appears in Google's annual building maps (2016–2023), the first year its 30 m cell is settled in WSF Evolution (1985–2015), and the first epoch its 100 m cell is built up in GHSL (1975–2020).
  4. Ranking: buildings were ordered from oldest to newest evidence. Within the same satellite date, buildings in blocks that were already denser count as older, because cities fill in from established cores outwards.
  5. Calibration to housing stock: the oldest 325,000 buildings fill Before 1976, the next 457,119 fill 1976–2000, and so on, so each period holds exactly the report's figure. The 53,445 footprints with the least satellite evidence were left out to make the total 2,176,483. Buildings with a documented date, such as Independence House (1961), keep their real year.
  6. Story layers: landmarks from sourced histories were matched to their footprints, and Overture points of interest (churches, mosques, schools, hospitals, markets, hotels) were joined to the buildings that contain them. In total 16,755 buildings carry at least one story layer.
  7. Photos and summaries: 2,491 landmarks were matched to the nearest Mapillary street photo facing them, and 96 buildings to their Wikipedia article.

Engineering for scale

Two million buildings would overwhelm most web maps, so the viewer was built specifically for this dataset:

  • Chunked streaming: the state is cut into 157 tiles of 5 × 5 km, stored as compact binary files (about 45 MB in total). Only the tiles around the camera are loaded, and distant ones are released from memory.
  • Overview mode: zoomed out to the whole state, buildings are aggregated into 440 m columns, so the full picture draws instantly.
  • GPU shading: a custom WebGL shader colours buildings by period, height or layer, and animates them rising on the timeline, without rebuilding any geometry.
  • No build step: the site is plain HTML and JavaScript hosted as static files, so it loads fast and costs nothing to run.

Results

Five eras of growth

PeriodEraBuildingsShare
Before 1976Colonial and early independence Lagos325,00014.9%
1976–2000Early urban expansion457,11921.0%
2001–2010Megacity sprawl376,81317.3%
2011–2015Lekki corridor and Eko Atlantic88,6564.1%
2016–2025Recent urban expansion928,89542.7%
Total2,176,483100%

A low-rise city

FloorsBuildingsShare
1–22,106,83596.8%
353,5502.5%
4–815,1940.7%
9–125780.03%
13 and more3260.01%
  • Almost half of Lagos is less than ten years old. The 2016–2025 period alone adds 928,895 buildings, more than any earlier era and almost three times the stock that stood before 1976.
  • Lagos grows outwards, not upwards. 96.8% of buildings are one or two storeys. The 904 buildings of nine floors or more stand mostly on Lagos Island, Ikoyi, Victoria Island and Eko Atlantic.
  • The evidence base is strongest for recent growth. About 645,000 buildings (29%) have direct building-level evidence from Google's annual maps; the rest are dated from when their surroundings were first built up.

Limitations

  • Periods are estimated, not surveyed. Lagos has no public construction-year register. Periods come from a ranking of satellite evidence, so an individual building's period can be wrong even when the totals are right.
  • Homes versus buildings. The report counts housing units and the map counts buildings. Matching the two totals is a deliberate calibration, not a claim that every building is one home.
  • Coarse history before 2016. Pre-2016 evidence comes from 30 m and 100 m grids, which date neighbourhoods rather than individual buildings. Redevelopment (an old house replaced by a new block) is not detected.
  • Heights are modelled. Most heights come from a machine-learning estimate, and floors assume about 3.2 m per storey, so roof forms and exact storey counts are approximate.
  • Footprint quality varies. Machine-detected footprints can merge adjoining buildings in dense areas or miss informal structures, especially in waterfront settlements such as Makoko.
  • Stories are selective. The history layers cover documented landmarks; some pins are marked approximate where a story concerns a place rather than one building.

Next steps

  • An ArcGIS version of the workflow (ArcGIS Pro and a hosted 3D scene layer) for professional use.
  • More story layers, contributed by people who know the city's history.
  • Hidden games in the street-level view, built around everyday Lagos life.
  • Validation of periods against dated aerial imagery for sample neighbourhoods.

Technologies

Python (pyarrow, GDAL, rasterio, NumPy, Shapely) · Overture Maps · Google Open Buildings 2.5D Temporal · GHSL · World Settlement Footprint Evolution · Mapillary · three.js (custom WebGL shader) · d3 · HTML / CSS / JavaScript · Vercel

Credits: inspired by Alex Barakov's LAYRS: Amsterdam and Sasha Bogachev's Paris, building by building. The 3D building shader adapts parts of Barakov's open-source viewer (MIT licence).