Learn R Programming

terra (version 1.8-86)

is.flipped: Is a SpatRaster is flipped

Description

Check if a SpatRaster is "flipped" vertically, and may need to be adjusted with flip before it can be used.

Usage

# S4 method for SpatRaster
is.flipped(x)

Arguments

Value

logical. One value for each raster data *source*

See Also

flip, is.rotated

Examples

Run this code
r <- rast(nrows=10, ncols=10)
is.flipped(r)

Run the code above in your browser using DataLab