I'm trying to run normalize_height()
on 328 las files. Maybe or maybe not relevant: I'm not running using LAScatalog
because I couldn't get that to run at all. Anyhow, I'm running using a parallelized foreach
loop. Seems to work fine. 303 of the tiles were properly normalized and written to disk. For others I get this output (looping/parallelization not relevant):
library(lidR)
las <- readLAS("1715.las")
las <- normalize_height(las, tin())
#> Errors running normalize_height: "270 points not normalizable. Process aborted.
When I run las_check()
on this file the suspicious results are:
- checking gpstime incoherences: 405091 pulses (points with the same gpstime) have points with identical ReturnNumber
- checking negative outliers: 177777 points below 0
My question is: how do I track down this problem? All I could think of was removing duplicates, which I did with no success. Do I need to remove the degenerated ground points too? If so, how to do that? The point cloud that triggered the error can be downloaded here and looks like: