GEOMETRYFROMWKB()

EXAMPLES

SET @pt ='POINT(1 0)';
SET @geom = GEOMETRYFROMWKB(ST_AsWKB(ST_GEOMETRYFROMTEXT(@pt)));
SELECT ST_AsText(@geom);
+------------------+
| ST_AsText(@geom) |
+------------------+
| POINT(1 0)       |
+------------------+

CHANGE HISTORY

Release Series

History

10.6 Enterprise

  • Present starting in MariaDB Enterprise Server 10.6.4-1.

10.5 Enterprise

  • Present starting in MariaDB Enterprise Server 10.5.3-1.

10.4 Enterprise

  • Present starting in MariaDB Enterprise Server 10.4.6-1.

EXTERNAL REFERENCES