is.rotated function

Check for rotation

Check for rotation

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

See rectify methods

## S4 method for signature 'SpatRaster' is.rotated(x)

Arguments

  • x: SpatRaster

Returns

logical. One value for each raster data source

See Also

rectify, is.flipped

Examples

r <- rast(nrows=10, ncols=10, vals=1:100) is.rotated(r)
  • Maintainer: Robert J. Hijmans
  • License: GPL (>= 3)
  • Last published: 2025-02-26