> ## 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.

# ST_Intersection

Returns the closed-set spherical intersection of two Geography values. Edges are interpreted as great-circle arcs. Boundary-only intersections are retained.

## Signatures

```sql theme={"system"}
ST_Intersection(A: Geography, B: Geography)
```

## Parameters

<ParamField body="A" type="Geography" required>The first geography.</ParamField>
<ParamField body="B" type="Geography" required>The second geography.</ParamField>

## Return type

<ResponseField type="Geography">The spherical intersection.</ResponseField>

The output copies the first input's SRID without transforming either input or validating that their SRIDs match.

## Example

```sql theme={"system"}
SELECT ST_AsText(ST_Intersection(
  ST_GeogFromWKT('POINT (-73.9857 40.7484)', 4326),
  ST_GeogFromWKT('POINT (-73.9857 40.7484)', 4326)
))
```

```text theme={"system"}
POINT (-73.9857 40.7484)
```
