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_Touches

Introduction: Return true if A touches B

ST_Touches returning true ST_Touches returning false

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

Return type: Boolean

Since: v1.5.0

Example:

SELECT ST_Touches(ST_GeomFromWKT('LINESTRING(0 0,1 1,0 2)'), ST_GeomFromWKT('POINT(0 2)'))

Output:

true