ST_INTERSECTION

functionsupportedCore SQL functions

docs.snowflake.com ↗

Geospatial functions

Given two input GEOGRAPHY objects, returns a GEOGRAPHY object that represents the shape containing the set of points that are common to both input objects (i.e. the intersection of the two objects).

Syntax

ST_INTERSECTION( <geography_expression_1> , <geography_expression_2> )

Parameters

NameRequiredDescription
geography_expression_1requiredA GEOGRAPHY object.
geography_expression_2requiredA GEOGRAPHY object.

Returns

The function returns a value of type GEOGRAPHY.

Usage notes

See also

Referenced by