Learn R Programming

rcrisp (version 0.3.1)

load_raster: Load raster data from one or multiple (remote) files

Description

If a bounding box is provided, the file(s) are cropped for the given extent. The resulting rasters are then merged using terra::merge.

Usage

load_raster(urlpaths, bbox = NULL)

Value

Raster data as a terra::SpatRaster object

Arguments

urlpaths

Path or URL to the raster file(s)

bbox

A bounding box