ST_Touches — Tests if a Geometry spatially touches another Geometry.
boolean ST_Touches(
bytea GeomA, bytea GeomB)
;
Tests if a Geometry spatially touches another Geometry, returns TRUE if so.
The Touches relation between two geometries a and b applies to the A/A, L/L, L/A, P/A and P/L groups of relationships but not to the P/P group (returns False if both Geometries are points).
The overlaps predicate has the following equivalent definitions:
The geometries have at least one point in common, but their interiors do not intersect.
a.Touches(b) «-» (I(a)∩I(b) = ᴓ) Ʌ (a ∩ b) ≠ᴓ
Expressed in terms of the DE-9IM: FT*******, F**T***** or F***T****
GeometryCollections are unsupported |
2D | 3D | M |
---|---|---|
OGC SFS for SQL. 1.1 (1999) | OGC SFS for SQL. 1.1.0 (2005) | OGC SFS for SQL. 1.2.0 (2006) | SQL-MM Part 3 |
---|---|---|---|
2.1.1.2 , 2.1.13.3 | 7.2.19.1 | 7.2.8.1 | 5.1.28 |