powered by
Check if a SpatRaster is "flipped" vertically, and may need to be adjusted with flip before it can be used.
flip
# S4 method for SpatRaster is.flipped(x)
logical. One value for each raster data *source*
SpatRaster
flip, is.rotated
r <- rast(nrows=10, ncols=10) is.flipped(r)
Run the code above in your browser using DataLab