engine function

Functions for the LAScatalog processing engine not meant to be called directly by users

Functions for the LAScatalog processing engine not meant to be called directly by users

Functions for the LAScatalog processing engine not meant to be called directly by users. They are exported for debugging and to simplify export of internal functions when processing in parallel

engine_apply( .CHUNKS, .FUN, .PROCESSOPT, .OUTPUTOPT, .GLOBALS = NULL, .AUTOREAD = FALSE, .AUTOCROP = FALSE, ... ) engine_chunks(ctg, realignment = FALSE, plot = opt_progress(ctg)) engine_crop(x, bbox) engine_merge(ctg, any_list, ...) engine_write(x, path, drivers)

Arguments

  • .CHUNKS: list. list of LAScluster
  • .FUN: function. function that respects a template (see catalog_apply )
  • .PROCESSOPT: list. Processing option
  • .OUTPUTOPT: list. Output option
  • .GLOBALS: list. Force export of some object in workers
  • .AUTOREAD: bool. Enable autoread
  • .AUTOCROP: bool. Enable autocrop
  • ...: parameters of .FUN
  • ctg: LAScatalog
  • realignment: FALSE or list(res = x, start = c(y,z)). Sometimes the chunk must be aligned with a raster, for example to ensure the continuity of the output. If the chunk size is 800 and the expected product is a raster with a resolution of 35, 800 and 35 are not compatible and will create 2 different partial pixels on the edges. The realignment option forces the chunk to fit the grid alignment.
  • plot: logical. Displays the chunk pattern.
  • x: LAS, Raster, stars, SpatRaster,sf, sfc, Spatial
  • bbox: bbox
  • any_list: list of LAS, Raster, stars, SpatRaster, sf, sfc, Spatial, data.frame
  • path: strings
  • drivers: list. Drivers of a LAScatalog

See Also

Other LAScatalog processing engine: engine_options

Other LAScatalog processing engine: engine_options

  • Maintainer: Jean-Romain Roussel
  • License: GPL-3
  • Last published: 2024-07-09