powered by
this function is equivalent to st_centroid, in that it returns a numeric vector with polygon centroids
S2Polygons_centroid(x)
List of list of loops represented by three-column matrices.