snowflake.snowpark.functions.st_asgeojson¶
- snowflake.snowpark.functions.st_asgeojson(geography_or_geometry_expression: Union[snowflake.snowpark.column.Column, str]) Column[source]¶
Returns the GeoJSON representation of a GEOGRAPHY or GEOMETRY object.
- Parameters:
geography_or_geometry_expression (ColumnOrName) – The GEOGRAPHY or GEOMETRY data.
- Returns:
The GeoJSON representation as a string.
- Return type:
Example: