"retrieve_pulses" does not work in LAScatalog framework? #536
Replies: 5 comments
-
Your |
Beta Was this translation helpful? Give feedback.
-
Sure, I was wondering why it works with a few functions (e.g. "decimate_points") but not with a few others, including |
Beta Was this translation helpful? Give feedback.
-
Two main reasons:
That being said with lidR v4 you can map any function on a ctg <- readLAScatalog("folder/with/las/inputs")
opt_chunk_size(ctg) <- 500
opt_output_files(ctg) <- "folder/where/to/store/outputs/dtm_{ORIGINALFILENAME}"
ctg_pulseID <- catalog_map(ctg, retrieve_pulses) But remember that |
Beta Was this translation helpful? Give feedback.
-
I see your point, but if the tiles are relatively small and the scan angle
large the `retrive_pulse` suffers from tile/edge effect as unique pulses will
be considered twice in adjacent tiles. Am I correct? With a LAScatalog
approach, the buffer will take care of the bias.
|
Beta Was this translation helpful? Give feedback.
-
It's not only a matter of edge artifacts.The engine handles that with the buffer. The problem is that pulseID necessarily restart at 1 on each chunk meaning that:
You should read section 1.4.1 of the book, it is the exact same problem. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions