Skip to content

Merge overlaid las files #737

Answered by Jean-Romain
seanreilly66 asked this question in Q&A
Discussion options

You must be logged in to vote

You can use the catalog_retile being clever on how to make chunks

ctg = readLAScatalog(...)
opt_chunk_size(ctg) = 2000 #large enough to encompass your tiles
opt_chunk_alignment(ctg) = c(...) # may be required to make only one chunk
plot(ctg, chunk = T) # to check if there is only one chunk
new_ctg = catalog_retile(ctg)

This should use very little memory. Yet the output file will be large.

You can also have a look to my new package lasR. There is merge file section in the tutorial https://r-lidar.github.io/lasR/articles/lasR2.html#write-las

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@seanreilly66
Comment options

@seanreilly66
Comment options

@Jean-Romain
Comment options

Answer selected by seanreilly66
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants