Skip to content
🌵SedonaDB (Rust) 0.3.0 is out now, featuring larger-than-memory spatial joins, and row-level CRS!

ST_LineFromText

Introduction: Construct a Line from Wkt text

Format: ST_LineFromText (Wkt: String)

Return type: Geometry

Since: v1.2.1

SQL Example

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

Output:

LINESTRING (1 2, 3 4)