| create_raster_mosaic | R Documentation |
Create mosaics from multiple raster files with various methods and intelligent file selection based on region boundaries.
create_raster_mosaic(
input_data,
method = "merge",
region_boundary = NULL,
output_file = NULL,
parallel = FALSE
)
input_data |
Character vector of file paths, directory path, or list of rasters |
method |
Mosaicing method: "merge", "mosaic", "mean", "max", "min" |
region_boundary |
Optional region boundary for clipping |
output_file |
Optional output file path |
parallel |
Use parallel processing |
SpatRaster object
## Not run:
# These examples require external data files not included with the package
# Basic mosaic
mosaic <- create_raster_mosaic("/path/to/rasters", method = "merge")
# Mosaic for specific region
ohio_mosaic <- create_raster_mosaic("/aster/files", "merge", "Ohio")
# Mean composite
mean_mosaic <- create_raster_mosaic(raster_list, method = "mean")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.