メインコンテンツまでスキップ

st_linefromtext

ST_LineFromText, ST_LineStringFromText

説明

WKT(Well Known Text)をLine形式のメモリ表現に変換します。

構文

GEOMETRY ST_LineFromText(VARCHAR wkt)

MySQL > SELECT ST_AsText(ST_LineFromText("LINESTRING (1 1, 2 2)"));
+---------------------------------------------------------+
| st_astext(st_linefromtext('LINESTRING (1 1, 2 2)')) |
+---------------------------------------------------------+
| LINESTRING (1 1, 2 2) |
+---------------------------------------------------------+

キーワード

ST_LINEFROMTEXT, ST_LINESTRINGFROMTEXT, ST, LINEFROMTEXT, LINESTRINGFROMTEXT