Fork me on GitHub

Predicates

The following predicate functions are available:

Function Description
ST_Contains Return true if Geometry A contains Geometry B
ST_Covers Return true if no point in Geometry B is outside Geometry A
ST_Crosses Return true if Geometry A crosses Geometry B
ST_DWithin Return true if the Geometries are within the specified distance of one another
ST_Disjoint Return true Geometries A and B are disjoint
ST_EnvelopesIntersect Return true if the envelope of Geometry A intersects the envelope of Geometry B
ST_Equals Return true if Geometry A equals Geometry B
ST_Intersects Return true if Geometry A intersects Geometry B
ST_OrderingEquals Returns TRUE if Geometry A equals Geometry B and their coordinates and component Geometries are listed in the same order
ST_Overlaps Return true if Geometry A overlaps Geometry B
ST_Relate Return the DE-9IM intersection matrix of the two Geometries or true if they are related by the given intersection matrix
ST_Touches Return true if Geometry A touches Geometry B
ST_Within Return true if Geometry A is within Geometry B