convex_hull function
Returns the convex hull of a geometry. It represents the minimum convex geometry that encloses all geometries within the set.
Syntax
convex_hull( a, b )
Arguments
a → geometry
a → geometry
Example
geom_to_wkt( convex_hull( geom_from_wkt( 'LINESTRING(3 3 , 4 4 , 4 10)' )) ) → returns POLYGON((3 3,4 10,4 4,3 3))