ST_INTERSECTS

functionsupportedCore SQL functions

docs.snowflake.com ↗

Geospatial functions

Returns TRUE if the two GEOGRAPHY objects or the two GEOMETRY objects intersect (i.e. share any portion of space). Note This function does not support using a GeometryCollection or FeatureCollection as input values. Tip You can use the search optimization service to improve the performance of queries that call this function. For details, see Search optimization service.

Syntax

ST_INTERSECTS( <geography_expression_1> , <geography_expression_2> )

ST_INTERSECTS( <geometry_expression_1> , <geometry_expression_2> )

Parameters

NameRequiredDescription
geography_expression_1requiredA GEOGRAPHY object.
geography_expression_2requiredA GEOGRAPHY object.
geometry_expression_1requiredA GEOMETRY object.
geometry_expression_2requiredA GEOMETRY object.

Returns

BOOLEAN.

Usage notes

See also

Referenced by