Learn R Programming

terra (version 0.8-6)

rectify: rectify a SpatRaster

Description

Rectify a rotated SpatRaster into a non-rotated object

Usage

# S4 method for SpatRaster
rectify(x, method="bilinear", filename="", overwrite=FALSE, wopt=list(), ...)

Arguments

x

Raster* object to be rectified

method

character. Method used to for resampling. See resample

filename

character. Output filename. Optional

overwrite

logical. If TRUE, filename is overwritten

wopt

list. Options for writing files as in writeRaster

...

additional arguments. None implemented

Value

SpatRaster