Skip to contents

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

Usage

# S4 method for class 'SpatRaster'
is.flipped(x)

Arguments

x

SpatRaster

Value

logical. One value for each raster data *source*

See also

Examples

r <- rast(nrows=10, ncols=10)
is.flipped(r)
#> [1] FALSE