3D Geodata Academy

All article materials Article materials

LiDAR ground filtering to a terrain model

A real IGN LiDAR HD tile goes in; ground points, a graded ground filter and a 0.5 m terrain model come out. laspy, Open3D and a Cloth Simulation Filter, checked against IGN’s own ground class. About 7 seconds on a laptop CPU.

Runs on Python 3.10, numpy, scipy, laspy with lazrs, open3d, cloth-simulation-filter, rasterio, matplotlib.

A LiDAR point cloud processed in Python, from raw tile to terrain model
Open

The code

Public, no email needed. Read it, fork it, run it, break it.

  • lidar_ground_to_dtm.py Read, thin, index, ground filter, grade, DTM, height above ground.
View on GitHub
Email

The data and the reference output

Too big to paste out of an article, so tell me where to send them.

  • lidar_hd_tile.laz 300 x 300 m of IGN LiDAR HD, 3,830,133 points with IGN’s classes, 21 MB.
  • dtm.tif The 0.5 m terrain model (GeoTIFF, EPSG:2154) the script should reproduce.
  • ground.laz The 1,409,542 points the filter called ground, IGN’s class kept on each.

Data: IGN, LiDAR HD point cloud, tile LHD_FXX_0584_6264 (Lambert-93, IGN69), cropped to 300 x 300 m. Licence Ouverte / Open Licence 2.0 (Etalab).

Where should I send them?

One email, and the download links appear right here. You also get them in your inbox so you can come back to this any time.

Cover of 3D Data Science with Python by Dr. Florent Poux
Go deeper

3D Data Science with Python

Building Accurate Digital Environments with 3D Point Cloud Workflows

This kit is one pipeline. The book is the discipline underneath them: 690 pages from the Python foundations through point cloud processing, meshing and the engineering that keeps a 3D workflow standing up in production. If the script above makes sense and you want the structure they came from, that is where it lives.

O’Reilly Media, 2025 · ISBN 9781098161330 · 15,000+ readers

See the book or buy it on O’Reilly
Dr. Florent Poux

Dr. Florent Poux

Founder and Lead Instructor at the 3D Geodata Academy. 15+ years on the automation of reality capture, from point clouds and photogrammetry to spatial AI, and 1,700+ citations across 60+ peer-reviewed publications.

These are the materials for LiDAR ground filtering to a terrain model, one of the tutorials I publish on Medium and on learngeodata.eu. Every kit lives at learngeodata.eu/materials/.

Scroll to Top