ST_ConvexHull¶
Introduction: Return the Convex Hull of polygon A
Format: ST_ConvexHull (A: Geometry)
Since: v1.0.0
SQL 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))