Skip to main content
Returns whether a point is in the interior of a polygon. This is the converse of ST_Contains and excludes exterior and hole boundaries.

Syntax

polygon must be an XY POLYGON or MULTIPOLYGON, and point must be an XY POINT. GEOMETRY descriptors must match. NULL propagates, and an EMPTY input returns false.

Example

Keywords

ST_WITHIN,ST,WITHIN GEOGRAPHY, GEOMETRY, BOOLEAN