BOUNDARY()

EXAMPLES

SELECT ST_AsWKT(BOUNDARY(ST_MultiPolygonFromText(
  'MULTIPOLYGON(((0 40, 0 20, 6 30, 12 20, 12 40, 0 40),
  (15 40, 15 20, 25 20, 30 25, 30 35, 25 40, 15 40)))'))) AS Boundary;
+------------------------------------------------------------------------------------------------+
| Boundary                                                                                       |
+------------------------------------------------------------------------------------------------+
| MULTILINESTRING((0 40,0 20,6 30,12 20,12 40,0 40),(15 40,15 20,25 20,30 25,30 35,25 40,15 40)) |
+------------------------------------------------------------------------------------------------+

CHANGE HISTORY

Release Series

History

10.6 Enterprise

  • Present starting in MariaDB Enterprise Server 10.6.4-1.

10.5 Enterprise

  • Present starting in MariaDB Enterprise Server 10.5.3-1.

10.4 Enterprise

  • Present starting in MariaDB Enterprise Server 10.4.6-1.

EXTERNAL REFERENCES