ST_Touches¶
Introduction: Return true if A touches B
Format: ST_Touches (A: Geometry, B: Geometry)
Since: v1.0.0
SQL Example
SELECT ST_Touches(ST_GeomFromWKT('LINESTRING(0 0,1 1,0 2)'), ST_GeomFromWKT('POINT(0 2)'))
Output:
true
Introduction: Return true if A touches B
Format: ST_Touches (A: Geometry, B: Geometry)
Since: v1.0.0
SQL Example
SELECT ST_Touches(ST_GeomFromWKT('LINESTRING(0 0,1 1,0 2)'), ST_GeomFromWKT('POINT(0 2)'))
Output:
true