create_raster_mosaic: Create raster mosaic with intelligent file selection

View source: R/05-mosaicing.R

create_raster_mosaicR Documentation

Create raster mosaic with intelligent file selection

Description

Create mosaics from multiple raster files with various methods and intelligent file selection based on region boundaries.

Usage

create_raster_mosaic(
  input_data,
  method = "merge",
  region_boundary = NULL,
  output_file = NULL,
  parallel = FALSE
)

Arguments

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

Value

SpatRaster object

Examples

## 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)


geospatialsuite documentation built on Nov. 6, 2025, 1:06 a.m.