Get centroids
Get the centroids for the polygons of a SpatVector
## S4 method for signature 'SpatVector' centroids(x)
x |
SpatVector |
SpatVector of points
f <- system.file("ex/lux.shp", package="terra") v <- vect(f) x <- centroids(v)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.