ST_MULTIPOLYGONFROMWKB()
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 @mpoly='MULTIPOLYGON(((0 0,1 1,2 2,0 0),(1 2,2 3,3 4,1 2)),((1 1,2 2,3 3,1 1),(2 2,2 3,3 4,2 2)))';
SET @var = ST_MultiPolygonFromWKB(ST_AsWKB(ST_MultiPolygonFromText(@mpoly)));
SELECT ST_AsText(@var);
+-------------------------------------------------------------------------------------------+
| ST_AsText(@var) |
+-------------------------------------------------------------------------------------------+
| MULTIPOLYGON(((0 0,1 1,2 2,0 0),(1 2,2 3,3 4,1 2)),((1 1,2 2,3 3,1 1),(2 2,2 3,3 4,2 2))) |
+-------------------------------------------------------------------------------------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.