impose {terra}R Documentation

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 signature '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


[Package terra version 1.7-78 Index]