ConvexHull
CONVEXHULL(g Geometry)
Alias: ST_CONVEXHULL
Returns an object that contains all of g.
Result type: geometry
Example:
SELECT ASTEXT(CONVEXHULL(MPOINTFROMTEXT('MULTIPOINT((0 0), (10 1), (9 10), (0 0), (8 8))')));
--------------------------------
col1
--------------------------------
POLYGON ((0 0, 9 10, 10 1, 0 0))
--------------------------------
Last modified date: 08/14/2024