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

Sets the spatial reference system identifier (SRID) of the geometry.

## Signatures

```sql theme={"system"}
ST_SetSRID (A: Geometry, srid: Integer)
```

## Parameters

<ParamField body="A" type="Geometry" required>
  The input geometry.
</ParamField>

<ParamField body="srid" type="Integer" required>
  Spatial Reference Identifier.
</ParamField>

## Return type

<ResponseField type="Geometry">
  The resulting geometry.
</ResponseField>

## Example

```sql theme={"system"}
SELECT ST_AsEWKT(ST_SetSRID(ST_GeomFromWKT('POLYGON((1 1, 8 1, 8 8, 1 8, 1 1))'), 3021))
```

```
SRID=3021;POLYGON ((1 1, 8 1, 8 8, 1 8, 1 1))
```
