The main use of this function is to parallelize processing for each pixels of each rasters.

all_rasters_to_polygons(
  input_dir,
  output_dir,
  reference_path = NULL,
  reversed = FALSE
)

Arguments

input_dir

character, input directory

output_dir

character, output directory

reference_path

optional, character, path to a reference raster used to crop the rasters found in input_dir

reversed

logical, optional, if TRUE the files are processed in reverse order

Value

list of SpatVector