Hi,
I am trying to retile flight transects using catalog_retile
, but the following error arises:
newctg2 = catalog_retile(ctg2) #> |====================================================================| 100% #> missing value where TRUE/FALSE needed #> Warning message: #> An error occured during the automatic merge of 'catalog_apply'. Merging is impossible. A list has been returned.
It worked when I used only one flight transect tho. It also worked when I used a dataset of tiles.
Here is the code I used (which is basically the original example from the retile a LAScatalog documentation):
library(lidR) # catalog with 2 flight lines ctg = readLAScatalog("Test_2flight_lines") plot(ctg) # Create a new set of 500 x 500 m .las files opt_chunk_buffer(ctg) <- 0 opt_chunk_size(ctg) <- 500 opt_filter(ctg) <- "" opt_laz_compression(ctg) <- TRUE opt_chunk_alignment(ctg) <- c(0,0) opt_output_files(ctg) <- paste0(tempdir(), "/retile_{XLEFT}_{YBOTTOM}") # preview the chunk pattern plot(ctg, chunk = TRUE) newctg = catalog_retile(ctg) plot(newctg)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4