> ## 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_LinestringFromWKB (Python)

> Generate a Line geometry column from a Well-Known Binary (WKB) binary column.

Generate a Line geometry column from a Well-Known Binary (WKB) binary column.

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

## Signature

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

ST_LinestringFromWKB(
    wkb: ColumnOrName,
    srid: Optional[ColumnOrNameOrNumber] = None,
) -> Column
```

## Parameters

<ParamField path="wkb" type="ColumnOrName" required>
  WKB binary column to generate from.
</ParamField>

<ParamField path="srid" type="Optional[ColumnOrNameOrNumber]" default="None">
  SRID to be set for the geometry.
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  Geometry column representing the WKB binary.
</ResponseField>


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