snowflake.snowpark.functions.st_envelope¶
- snowflake.snowpark.functions.st_envelope(geography_or_geometry_expression: Union[snowflake.snowpark.column.Column, str])[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.47.0/src/snowflake/snowpark/_functions/scalar_functions.py#L2949-L2972)¶
Returns the minimum bounding box (envelope) that contains the input GEOGRAPHY or GEOMETRY object.
- Parameters:
geography_or_geometry_expression – The GEOGRAPHY or GEOMETRY data.
- Returns:
The envelope as a GEOGRAPHY or GEOMETRY object.
- Return type:
Example: