Skip to main content
Tests whether geography A fully contains geography B using S2 spherical boolean operations. Returns true if every point of B is inside or on the boundary of A. ST_Contains returning true ST_Contains returning false

Signatures

Parameters

Geography
required
The containing geography.
Geography
required
The geography tested for containment within A.

Return type

true if A fully contains B.

Example