> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ST_LineFromText (Python)

> Generate linestring geometry from a linestring WKT representation.

Generate linestring geometry from a linestring WKT representation.

SQL reference: [`ST_LineFromText`](/reference/wherobots-db/geometry-data/constructors/ST_LineFromText)

## Signature

```python theme={"system"}
from sedona.spark.sql.st_constructors import ST_LineFromText

ST_LineFromText(wkt: ColumnOrName) -> Column
```

## Parameters

<ParamField path="wkt" type="ColumnOrName" required>
  Linestring WKT string column to generate from.
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  Linestring geometry generated from the wkt column.
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.