Client project, Kraków, 2023
Terrain, surface and building heights from one LiDAR sheet
A client project on surface models and building identification, re-run in Python on open GUGiK LiDAR in Nowa Huta, Kraków, and checked against OpenStreetMap.
- Project
- Surface models and building heights from LiDAR
- Where
- Kraków
- Year
- 2023
- Stack
- Python, laspy, NumPy, SciPy, rasterio, GeoPandas, Shapely; original project used CloudCompare and QGIS
The question
A LiDAR delivery holds the answer to "how tall are the buildings here", but only after the terrain is separated from what stands on it and the buildings are told apart from trees.
What we did
- Terrain. 0.5 m DTM from the ground-class returns; gaps under buildings interpolated.
- Surface. 0.5 m DSM from the highest first return in each cell.
- Heights above ground. nDSM = DSM − DTM: trees, roofs and everything else, in metres.
- Buildings. Building-class share plus a 2.5 m height threshold, morphological clean-up, vector outlines with heights.
- Check. Outlines against OpenStreetMap footprints and storey counts.


Numbers (re-run on open data)
- 8.3 M points
- 0.5 m DTM / DSM / nDSM
- 64 roof outlines, 6.5 ha
- highest roof 36.6 m (p95)
- IoU 0.83 with OSM
- 93 % of OSM footprint area found
- 89 of 122 footprints
- heights vs storeys r 0.974 (3.67 m per storey)
Known limits
Joined buildings in a perimeter block come out as one roof outline; splitting them needs a footprint layer or roof-line analysis. Small sheds and garages under 2.5 m or 25 m² are not kept. Outlines follow the 0.5 m grid and the roof edge, not the wall line. Gallery images are re-runs on open data; client data stays private.
Need terrain, surface models or building heights from your LiDAR? Get in touch.
Need something like this?
Tell us what the work should support. A 30-minute call is enough to say what we would do first, how long it takes and what it costs.
