Learn R Programming

terra (version 1.7-83)

is.rotated: Check for rotation

Description

Check if a SpatRaster is "rotated" and needs to be rectified before it can be used

See rectify

Usage

# S4 method for SpatRaster
is.rotated(x)

Value

logical. One value for each raster data *source*

Arguments

x

SpatRaster

See Also

rectify

Examples

Run this code
r <- rast(nrows=10, ncols=10, vals=1:100)
is.rotated(r)

Run the code above in your browser using DataLab