TODO: Move to reproducible

TODO: Move to reproducible TODO: expand to multiple objects

.compareRas(x, ...)

.compareCRS(x, y)

Arguments

x, y

a Raster, SpatRaster, sf, SpatVector, or Spatial object

...

additional Raster or SpatRaster objects, and arguments passed to terra::compareGeom().

Value

the projected extent

Note

this function internally converts Raster to SpatRaster to allow using compareGeom(), and benefit from its complexity.