snowflake.snowpark.functions.st_intersection¶
- snowflake.snowpark.functions.st_intersection(geography_expression_1: Union[snowflake.snowpark.column.Column, str], geography_expression_2: Union[snowflake.snowpark.column.Column, str]) Column[source]¶
Returns the intersection of two GEOGRAPHY objects. If the objects do not intersect, returns an empty geometry collection.
- Parameters:
geography_expression_1 (ColumnOrName) – A column containing GEOGRAPHY objects or a geography expression.
geography_expression_2 (ColumnOrName) – A column containing GEOGRAPHY objects or a geography expression.
- Returns:
A column containing the intersection of the two input GEOGRAPHY objects as a GEOGRAPHY object.
- Return type:
- Examples::