Skip to content
πŸŽ‰ SedonaDB 0.4.0 is out now! πŸ—ΊοΈ Python DataFrame API, R dplyr, Geography support & GPU-accelerated spatial joins. Read the release blog β†’

ST_Intersects

Introduction: Return true if A intersects B

ST_Intersects returning true ST_Intersects returning false

Format: ST_Intersects (A: Geometry, B: Geometry)

Return type: Boolean

Since: v1.0.0

SQL Example

SELECT ST_Intersects(ST_GeomFromWKT('LINESTRING(-43.23456 72.4567,-43.23456 72.4568)'), ST_GeomFromWKT('POINT(-43.23456 72.4567772)'))

Output:

true