snowflake.snowpark.functions.st_simplify¶
- snowflake.snowpark.functions.st_simplify(geography_or_geometry_expression: Union[snowflake.snowpark.column.Column, str], tolerance: Union[snowflake.snowpark.column.Column, str], preserve_collapsed: Union[snowflake.snowpark.column.Column, str] = None)[source]¶
Returns a simplified version of the input GEOGRAPHY or GEOMETRY object by removing points that are deemed unnecessary for the shape.
- Parameters:
geography_or_geometry_expression (ColumnOrName) – A GEOGRAPHY or GEOMETRY object to be simplified.
tolerance (ColumnOrName) – The tolerance value used for simplification. Points closer than this distance may be removed.
preserve_collapsed (ColumnOrName, optional) – A boolean value indicating whether to preserve collapsed geometries. Defaults to None.
- Returns:
A simplified GEOGRAPHY or GEOMETRY object.
- Return type:
- Examples::