Hacker News
points by Lukas_Skywalker 3 days ago | 0 comments
The Lidar point cloud has a classification attribute that lets you filter the data. You can take the class=2 points to get the ground [1].

[1]: https://www.swisstopo.admin.ch/de/hoehenmodell-swisssurface3...

[–] NetMageSCW 3 days ago
Wouldn’t you just end IP with holes in your map?
[–] Lukas_Skywalker 3 days ago
Point clouds usually are not equidistant or arranged on a regular grid. You are right that filtering Lidar data to only get the terrain does create gaps in the cloud. The conversion of the point cloud to a surface does deal with holes though (that's the whole goal), and it doesn't matter if some are larger than others. There are different methods to do so, for example delaunay tetrahedrization [1], or ball-pivoting [2]. You do get flat areas though, but that's often a good compromise to make.

[1]: https://en.wikipedia.org/wiki/Delaunay_triangulation

[2]: https://en.wikipedia.org/wiki/Marching_triangles