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

> Generate a geometry column from a KML string column.

Generate a geometry column from a KML string column.

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

## Signature

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

ST_GeomFromKML(kml_string: ColumnOrName) -> Column
```

## Parameters

<ParamField path="kml_string" type="ColumnOrName" required>
  KML string column to generate from.
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  Geometry column representing the KML string.
</ResponseField>


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