Skip to contents

Returns the geometric center of a geometry.

Arguments

x

dbSpatial object

...

additional arguments

Value

dbSpatial object with centroid geometry

See also

Other geometry_ops: st_buffer(), st_simplify()

Examples

if (FALSE) { # \dontrun{
st_centroid(x)
} # }