ClearSKY FaviconClearSKY Polygon Tools
Back to Glossary

Touches (spatial predicate)

True when two geometries touch at the boundary but do not overlap in area (or interior).

Category: Topology · Also known as: ST_Touches, touches predicate, adjacent

Definition (expanded)

Touches is useful for detecting adjacency (shared borders) without overlap. For polygons, touching usually means they share boundary points/segments but their interiors do not overlap.

Examples

PostGIS touches

SQL

SELECT ST_Touches(a.geom, b.geom) FROM a, b;

Common mistakes