Transform a spatial object to class SpatRaster
gc_terra(input) # S4 method for geom gc_terra(input = NULL)
input | the object to transform to class |
---|
an object of class SpatRaster
gc_terra(input = gtGeoms$grid$categorical) #> class : SpatRaster #> dimensions : 56, 60, 1 (nrow, ncol, nlyr) #> resolution : 1, 1 (x, y) #> extent : 0, 60, 0, 56 (xmin, xmax, ymin, ymax) #> coord. ref. : lon/lat WGS 84 #> source : memory #> name : cover #> min value : arable #> max value : wetland