Skip to content
🎉 Apache Sedona 1.8.1 is now available! Check out the new features and improvements.

ST_Centroid

Introduction: Return the centroid point of A

Format: ST_Centroid (A:geometry)

SQL example:

SELECT ST_Centroid(polygondf.countyshape)
FROM polygondf