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

ST_Length

Introduction: Returns the perimeter of A.

Warning

This function only supports LineString, MultiLineString, and GeometryCollections containing linear geometries. Use ST_Perimeter for polygons.

Format: ST_Length (A:geometry)

SQL example:

SELECT ST_Length(polygondf.countyshape)
FROM polygondf