GEOMFROMTEXT()
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_X(GeomFromText('POINT(15 20)'));
+------------------------------------+
| ST_X(GeomFromText('POINT(15 20)')) |
+------------------------------------+
| 15 |
+------------------------------------+
SET @ls = 'LineString(1 0,1 2,2 3)';
SELECT ST_AsText(GeomFromText(@ls));
+------------------------------+
| ST_AsText(GeomFromText(@ls)) |
+------------------------------+
| LINESTRING(1 0,1 2,2 3) |
+------------------------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.