ST_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
A description for this Function has not yet been added to this Documentation.
EXAMPLES
SET @var = ST_POINTFROMWKB(ST_AsWKB(ST_POINTFROMTEXT('POINT(1 1)')));
SELECT ST_AsText(@var);
+-----------------+
| ST_AsText(@var) |
+-----------------+
| POINT(1 1) |
+-----------------+
CREATE TABLE pt (c1 POINT);
INSERT INTO pt VALUES (ST_PointFromWKB(ST_AsWKB(Point(1,1))));
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.