catalog_options_tools

0th

Percentile

Get or set LAScatalog processing engine options

The names of the options and their roles are documented in LAScatalog. The options are used by all the functions that support a LAScatalog as input.

Usage
opt_chunk_buffer(ctg)

opt_chunk_buffer(ctg) <- value

opt_chunk_size(ctg)

opt_chunk_size(ctg) <- value

opt_chunk_alignment(ctg)

opt_chunk_alignment(ctg) <- value

opt_cores(ctg)

opt_cores(ctg) <- value

opt_progress(ctg)

opt_progress(ctg) <- value

opt_stop_early(ctg)

opt_stop_early(ctg) <- value

opt_wall_to_wall(ctg)

opt_wall_to_wall(ctg) <- value

opt_output_files(ctg)

opt_output_files(ctg) <- value

opt_laz_compression(ctg)

opt_laz_compression(ctg) <- value

opt_select(ctg)

opt_select(ctg) <- value

opt_filter(ctg)

opt_filter(ctg) <- value

Arguments
ctg

An object of class LAScatalog

value

An appropriate value depending on the expected input.

Aliases
  • catalog_options_tools
  • opt_chunk_buffer
  • opt_chunk_buffer<-
  • opt_chunk_size
  • opt_chunk_size<-
  • opt_chunk_alignment
  • opt_chunk_alignment<-
  • opt_cores
  • opt_cores<-
  • opt_progress
  • opt_progress<-
  • opt_stop_early
  • opt_stop_early<-
  • opt_wall_to_wall
  • opt_wall_to_wall<-
  • opt_output_files
  • opt_output_files<-
  • opt_laz_compression
  • opt_laz_compression<-
  • opt_select
  • opt_select<-
  • opt_filter
  • opt_filter<-
Examples
# NOT RUN {
LASfile <- system.file("extdata", "Megaplot.laz", package="lidR")
ctg = catalog(LASfile)

plot(ctg, chunk_pattern = TRUE)

opt_chunk_size(ctg) <- 150
plot(ctg, chunk_pattern = TRUE)

opt_chunk_buffer(ctg) <- 10
plot(ctg, chunk_pattern = TRUE)

opt_chunk_alignment(ctg) <- c(270,250)
plot(ctg, chunk_pattern = TRUE)

summary(ctg)

opt_output_files(ctg) <- "/path/to/folder/templated_filename_{XBOTTOM}_{ID}"
summary(ctg)
# }
Documentation reproduced from package lidR, version 2.0.0, License: GPL-3

Community examples

Looks like there are no examples yet.