Nothing
context("catalog_retile")
options(lidR.interactive = FALSE)
ctg <- megaplot_ctg
opt_chunk_buffer(ctg) <- 0
opt_chunk_size(ctg) <- 120
opt_progress(ctg) <- FALSE
opt_chunk_alignment(ctg) <- c(40, 90)
opt_output_files(ctg) <- paste0(tempfile(), "/test_{XLEFT}_{YBOTTOM}")
test_that("catalog_retile preserves the number of points", {
ctg2 <- catalog_retile(ctg)
unlink(dirname(opt_output_files(ctg)), recursive = T)
expect_equal(sum(ctg@data$`Number of point records`), sum(ctg2@data$`Number of point records`))
expect_equal(nrow(ctg2@data), 4L)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.