EXTERIORRING()
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 @polygon ='Polygon((0 0,0 5,5 5,5 0,0 0),(2 2,2 5,5 5,5 2,2 2))';
SELECT ST_AsText(ExteriorRing(ST_GeomFromText(@polygon)));
+----------------------------------------------------+
| ST_AsText(ExteriorRing(ST_GeomFromText(@polygon))) |
+----------------------------------------------------+
| LINESTRING(0 0,0 5,5 5,5 0,0 0) |
+----------------------------------------------------+