Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt

Use this file to discover all available pages before exploring further.

Return true if A overlaps B ST_Overlaps returning true ST_Overlaps returning false

Signatures

ST_Overlaps (A: Geometry, B: Geometry)

Parameters

A
Geometry
required
The input geometry.
B
Geometry
required
The second geometry.

Return type

Returns true or false.

Example

SELECT ST_Overlaps(ST_GeomFromWKT('POLYGON((2.5 2.5, 2.5 4.5, 4.5 4.5, 4.5 2.5, 2.5 2.5))'), ST_GeomFromWKT('POLYGON((4 4, 4 6, 6 6, 6 4, 4 4))'))
true