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

> Generate a geography column from a Well-Known Text (WKT) string column.

Generate a geography column from a Well-Known Text (WKT) string column.

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

## Signature

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

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

## Parameters

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

<ParamField path="srid" type="Optional[ColumnOrNameOrNumber]" default="None" />

## Returns

<ResponseField name="return" type="Column">
  Geography column representing the WKT string.
</ResponseField>


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