Skip to content
🌵SedonaDB (Rust) 0.3.0 is out now, featuring larger-than-memory spatial joins, and row-level CRS!

ST_Centroid

Introduction: Return the centroid point of A

ST_Centroid

Format: ST_Centroid (A:geometry)

Return type: Geometry

SQL example:

SELECT ST_Centroid(polygondf.countyshape)
FROM polygondf