Learn R Programming

terra (version 1.6-47)

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