跳转至
Apache Sedona 1.9.0 已正式发布,新增 Spark 4.1 支持、proj4sedona 坐标系转换、Bing Tile 函数等众多特性!

ST_LineFromText

Introduction: Construct a LineString from Text

Format: ST_LineFromText (Text: String)

Return type: Geometry

Since: v1.2.1

Example:

SELECT ST_LineFromText('Linestring(1 2, 3 4)')

Output:

LINESTRING (1 2, 3 4)