Client project, Kraków, 2023
Ground, trees and buildings out of a raw LiDAR tile
A client project in Kraków: noise removal, ground filtering and object classification as a scripted Python workflow, re-run here on open GUGiK LiDAR around Wawel Hill.
- Project
- LiDAR ground and object classification
- Where
- Kraków
- Year
- 2023
- Stack
- Python, laspy, NumPy, SciPy; the original project also used PDAL and CloudCompare
The question
A raw airborne LiDAR tile is millions of unlabelled returns. Before anyone can build a terrain model, count trees or extract buildings, every return needs a class, and the classes need a check.
What we did
- Read and summarise. laspy: counts, extents, intensity, returns and the classes already in the file.
- Remove noise. Statistical outlier removal with 20 neighbours, plus points far below or above the terrain.
- Filter the ground. SMRF with tuned window and slope; on Wawel Hill a 30 m window keeps the hill and drops the cathedral roof.
- Describe each point. Height above ground, planarity, scattering, verticality and the share of multi-return pulses around it.
- Classify and re-label. Roof seeds, a two-scale neighbour vote, walls and eaves, vegetation by height, water at river level.
- Check. Agreement with the sheets' own classes, class by class, with a map of where they differ.





Numbers (re-run on open data)
- 15.1 M points
- 2 GUGiK 2025 sheets
- 6.24 M ground points
- 5.04 M building points
- 3.39 M high-vegetation points
- 95.95 % agreement on 12.46 M points
- ground F1 0.975
- building F1 0.963
- high vegetation F1 0.968
Known limits
Thresholds were tuned on this area. Low vegetation in the reference sits at terrain height and is not reproduced by height rules. Roof edges of complex towers and terrain-level building parts are the main building misses. Gallery images are re-runs on open data; client data stays private.
Need a LiDAR tile filtered and classified? 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.
