ISCLOSED()
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 @ls = 'LineString(1 2,2 3,3 4,4 5)';
SELECT IsClosed(ST_GeomFromText(@ls));
+--------------------------------+
| IsClosed(ST_GeomFromText(@ls)) |
+--------------------------------+
| 0 |
+--------------------------------+
SET @ls = 'LineString(1 2,2 3,3 4,1 2)';
SELECT IsClosed(ST_GeomFromText(@ls));
+--------------------------------+
| IsClosed(ST_GeomFromText(@ls)) |
+--------------------------------+
| 1 |
+--------------------------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.