> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# ST_Covers

> Tests whether a polygon covers a point, including its boundary.

Returns whether a point is in a polygon interior or on its exterior or hole boundary.

## Syntax

```sql theme={null}
BOOLEAN ST_Covers(GEOGRAPHY polygon, GEOGRAPHY point)
BOOLEAN ST_Covers(GEOMETRY polygon, GEOMETRY point)
```

`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

```SQL theme={null}
SELECT ST_Covers(
    ST_GeogFromText('POLYGON ((0 0, 10 0, 10 10, 0 10, 0 0))'),
    ST_GeogFromText('POINT (0 5)'));
-- true
```

## Keywords

ST\_COVERS,ST,COVERS

## Related data types

[GEOGRAPHY](/documents/4.2/sql-reference/data-types/spatial-types/GEOGRAPHY.md), [GEOMETRY](/documents/4.2/sql-reference/data-types/spatial-types/GEOMETRY.md), [BOOLEAN](/documents/4.2/sql-reference/data-types/numeric/BOOLEAN.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.