Generates a raster stack.
Arguments
- layers
(List of
numeric_layer()
andfactor_layer()
)
List of layers.- layer_size
(
numeric(1)
)
Size of a single layer in megabytes.- dimension
(
integer(1)
)
Dimension of the squared layers.- multi_layer_file
(
logical(1)
)
IfTRUE
, raster is written to disk as a single multi-layer file. Overwritesìn_memory
argument ofnumeric_layer()
andfactor_layer()
.layer_size
anddimension
are mutually exclusive.