CONVEXHULL()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Enterprise Server
Topics on this page:
Overview
See ST_
EXAMPLES
SET @mpt = 'MULTIPOINT(0 0,1 1,2 2,3 3)';
SELECT ST_AsText(ConvexHull(ST_GeomFromText(@mpt)));
+----------------------------------------------+
| ST_AsText(ConvexHull(ST_GeomFromText(@mpt))) |
+----------------------------------------------+
| LINESTRING(0 0,3 3) |
+----------------------------------------------+