Closed mkieser closed 2 years ago
This question has already been asked multiple times. You may find and explanation here or here. If not, then you have another problem but you must share your point cloud if you want me to reproduce.
In your case knnidw
has a parameter rmax = 50
. You can try to increase it. You can also use na.rm = TRUE
. In the next release (v4.0.0) this error has been removed and normalize_height
uses the nearest neighbor to force interpolation of "non interpolable" points. It does not solve the problem but avoid annoying failures.
Thank you, na.rm = TRUE
did not work, but rmax = 100
did. Thank you.
I've encountered this error. Any ideas on how else I could check the LAS file for issues causing the problem? Thank you.
I see there was previously a similar issue with the normalize_height(las, tin()) algorithm: https://github.com/r-lidar/lidR/issues/356