Learn R Programming

terra (version 1.7-55)

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="", ...)

Value

SpatRaster

Arguments

x

SpatRasterCollection

y

SpatRaster

filename

character. Output filename

...

list with named options for writing files as in writeRaster

See Also

resample