Skip to main content
Tests whether two geography objects intersect on the sphere using S2 spherical boolean operations. Returns true if A and B share any portion of space (including a single boundary point), and false if they are fully disjoint. Edges are interpreted as great-circle arcs, so the test is correct even when geographies cross the antimeridian or wrap around the poles — situations where a planar ST_Intersects would be wrong. ST_Intersects returning true ST_Intersects returning false

Signatures

Parameters

Geography
required
The first geography.
Geography
required
The second geography.

Return type

true if A and B intersect.

Example

Overlapping polygons:
Disjoint polygons: