ST_GEOMETRYFROMTEXT,ST_GEOMFROMTEXT
ST_GeometryFromText,ST_GeomFromTextβ
Descriptionβ
Syntaxβ
GEOMETRY ST_GeometryFromText (VARCHAR wkt)
Converting a WKT (Well Known Text) into a corresponding memory geometry
exampleβ
mysql> SELECT ST_AsText(ST_GeometryFromText("LINESTRING (1 1, 2 2)"));
+---------------------------------------------------------+
| st_astext(st_geometryfromtext('LINESTRING (1 1, 2 2)')) |
+---------------------------------------------------------+
| LINESTRING (1 1, 2 2) |
+---------------------------------------------------------+
keywordsβ
ST_GEOMETRYFROMTEXT,ST_GEOMFROMTEXT,ST,GEOMETRYFROMTEXT,GEOMFROMTEXT