ENVELOPE()
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
SELECT ST_AsText(ENVELOPE(ST_GeomFromText('LineString(2 2,5 5)')));
+-------------------------------------------------------------+
| ST_AsText(ENVELOPE(ST_GeomFromText('LineString(2 2,5 5)'))) |
+-------------------------------------------------------------+
| POLYGON((2 2,5 2,5 5,2 5,2 2)) |
+-------------------------------------------------------------+
SELECT ST_AsText(ENVELOPE(ST_GeomFromText('LineString(1 1,1 2)')));
+-------------------------------------------------------------+
| ST_AsText(ENVELOPE(ST_GeomFromText('LineString(1 1,1 2)'))) |
+-------------------------------------------------------------+
| POLYGON((1 1,1 1,1 2,1 2,1 1)) |
+-------------------------------------------------------------+