Files
doris/docs/en/sql-reference/sql-functions/spatial-functions/st_geometryfromtext.md
ZhangYu0123 1d9b3aeee7 [Doc] Repair document format (#4336)
The error format '##keyword' in a lot of docs. This pr is to repair document format. #4335
2020-08-13 23:39:41 +08:00

1.5 KiB

title, language
title language
`ST_GeometryFromText`,`ST GeomFromText` en

ST_GeometryFromText,ST GeomFromText

Description

Syntax

'GEOMETRY ST'u 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)                                   |
+---------------------------------------------------------+

keyword

ST_GEOMETRYFROMTEXT,ST_GEOMFROMTEXT,ST,GEOMETRYFROMTEXT,GEOMFROMTEXT