is.flipped: Is a SpatRaster flipped?

is.flippedR Documentation

Is a SpatRaster 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 signature 'SpatRaster'
is.flipped(x)

Arguments

x

SpatRaster

Value

logical. One value for each raster data *source*

See Also

flip, is.rotated, has.geoloc

Examples

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

terra documentation built on Aug. 22, 2026, 5:07 p.m.