ST_INTERSECTS()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Enterprise Server
Topics on this page:
Overview
A description for this Function has not yet been added to this Documentation.
EXAMPLES
SET @ls1 = ST_GeomFromText('LINESTRING(0 0,1 1,2 2)');
SET @ls2 = ST_GeomFromText('LINESTRING(0 5,5 10,10 15,15 20)');
SELECT ST_Intersects(@ls1, @ls2);
+---------------------------+
| ST_Intersects(@ls1, @ls2) |
+---------------------------+
| 0 |
+---------------------------+
SET @ls1 = ST_GeomFromText('LINESTRING(0 0,1 1,2 2)');
SET @ls2 = ST_GeomFromText('LINESTRING(0 1,1 2,2 1,0 0)');
SELECT ST_Intersects(@ls1, @ls2);
+---------------------------+
| ST_Intersects(@ls1, @ls2) |
+---------------------------+
| 1 |
+---------------------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.