Get centroid clumb raster

rast_clump_points(x, parallel = NULL, centroid_geometry = FALSE)

Arguments

x

raster with unique ids

parallel

numeric. Specify the number of cores to use for parallel processing

centroid_geometry

logical. Return geometry (TRUE) or data.frame(FALSE)