The ASTEXT function specifies the bounding box in WKT format
mysql>
mysql> SET @mp = GEOMFROMTEXT('MULTIPOINT(1 1, 10 99, 0 5)');
Query OK, 0 rows affected (0.00 sec)
mysql>
mysql> SELECT GEOMETRYTYPE(@mp);
+-------------------+
| GEOMETRYTYPE(@mp) |
+-------------------+
| MULTIPOINT |
+-------------------+
1 row in set (0.00 sec)
Related examples in the same category