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

> Generate a geometry column from a GeoJSON string column.

Generate a geometry column from a GeoJSON string column.

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

## Signature

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

ST_GeomFromGeoJSON(geojson_string: ColumnOrName) -> Column
```

## Parameters

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

## Returns

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


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