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

ST_ConvexHull

Introduction: Return the Convex Hull of polygon A

Format: ST_ConvexHull (A: Geometry)

Since: v1.5.0

Example:

SELECT ST_ConvexHull(ST_GeomFromText('POLYGON((175 150, 20 40, 50 60, 125 100, 175 150))'))

Output:

POLYGON ((20 40, 175 150, 125 100, 20 40))