Learn R Programming

terra (version 1.5-12)

impose: Impose the geometry of a SpatRaster to those in a SpatRasterCollection.

Description

Warp the members of a SpatRasterCollection to match the geometry of a SpatRaster.

Usage

# S4 method for SpatRasterCollection
impose(x, y, filename="", ...)

Arguments

x

SpatRasterCollection

y

SpatRaster

filename

character. Output filename

...

list with named options for writing files as in writeRaster

Value

SpatRaster

See Also

resample