Skip to contents

Retrieve STAC records (of a DEM) corresponding to a list of asset urls, crop and merge with a specified bounding box to create a dem of the specified region

Usage

load_raster(bb, raster_urlpaths)

Arguments

bb

A bounding box, provided either as a matrix (rows for "x", "y", columns for "min", "max") or as a vector ("xmin", "ymin", "xmax", "ymax")

raster_urlpaths

a list of STAC records to be retrieved

Value

A a merged dem from retrieved assets cropped to the bounding box