Files
doris/docs/documentation/cn/sql-reference/sql-functions/spatial-functions/st_geometryfromtext.md
xy720 4c2a3d6da4 Merge Help document to documentation (#1586)
Help document collation (integration of help and documentation documents)
2019-08-07 21:31:53 +08:00

659 B

ST_GeometryFromText,ST_GeomFromText

description

Syntax

GEOMETRY ST_GeometryFromText(VARCHAR wkt)

将一个WKT(Well Known Text)转化为对应的内存的几何形式

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)                                   |
+---------------------------------------------------------+

##keyword ST_GEOMETRYFROMTEXT,ST_GEOMFROMTEXT,ST,GEOMETRYFROMTEXT,GEOMFROMTEXT