ST_ASTEXT,ST_ASWKT
ST_AsText,ST_AsWKTβ
Descriptionβ
Syntaxβ
VARCHAR ST_AsText (GEOMETRY geo)
Converting a geometric figure into a WKT (Well Known Text) representation
exampleβ
mysql> SELECT ST_AsText(ST_Point(24.7, 56.7));
+---------------------------------+
| st_astext(st_point(24.7, 56.7)) |
+---------------------------------+
| POINT (24.7 56.7) |
+---------------------------------+
keywordsβ
ST_ASTEXT,ST_ASWKT,ST,ASTEXT,ASWKT