POINTFROMWKB()
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 @var = PointFromWKB(ST_AsWKB(Point(1, 1)));
SELECT ST_AsText(@var);
+-----------------+
| ST_AsText(@var) |
+-----------------+
| POINT(1 1) |
+-----------------+
CREATE TABLE pt (c1 POINT);
SET @var = PointFromWKB(ST_AsWKB(ST_POINTFROMTEXT('POINT(1 1)')));
INSERT INTO pt VALUES (@var);
SELECT ST_AsText(c1) FROM pt;
+---------------+
| ST_AsText(c1) |
+---------------+
| POINT(1 1) |
+---------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.