Skip to main content
Generate the GeoJSON style representation of a geometry column. SQL reference: ST_AsGeoJSON

Signature

Parameters

ColumnOrName
required
Geometry column to generate GeoJSON for.
Optional[Union[ColumnOrName, str]]
default:"None"

Returns

Column
GeoJSON representation of geometry as a string column.