GEOMETRYCOLLECTIONFROMWKB()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Enterprise Server
Topics on this page:
Overview
EXAMPLES
SET @g = 'GEOMETRYCOLLECTION(POINT(1 0),LINESTRING(0 1,1 1,1 2,2 3,3 4))';
SET @var = GEOMETRYCOLLECTIONFROMWKB(ST_AsWKB(ST_GEOMETRYCOLLECTIONFROMTEXT(@g)));
SELECT ST_AsText(@var);
+----------------------------------------------------------------+
| ST_AsText(@var) |
+----------------------------------------------------------------+
| GEOMETRYCOLLECTION(POINT(1 0),LINESTRING(0 1,1 1,1 2,2 3,3 4)) |
+----------------------------------------------------------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.