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

> Creates a LineString from a MultiPoint geometry.

Creates a LineString from a MultiPoint geometry.

SQL reference: [`ST_LineFromMultiPoint`](/reference/wherobots-db/geometry-data/editors/ST_LineFromMultiPoint)

## Signature

```python theme={"system"}
from sedona.spark.sql.st_functions import ST_LineFromMultiPoint

ST_LineFromMultiPoint(geometry: ColumnOrName) -> Column
```

## Parameters

<ParamField path="geometry" type="ColumnOrName" required>
  MultiPoint geometry column to create LineString from.
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  LineString geometry of a MultiPoint geometry column.
</ResponseField>


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