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

Performs a counter-clockwise rotation of the specified geometry around the Y-axis by the given angle measured in radians.

<img src="https://mintcdn.com/wherobots/wLm_IRUSNlHZTHJP/images/sql-functions/ST_RotateY/ST_RotateY.svg?fit=max&auto=format&n=wLm_IRUSNlHZTHJP&q=85&s=2db86855c23ea1754eb2a9eb632740a3" alt="ST_RotateY" width="400" height="180" data-path="images/sql-functions/ST_RotateY/ST_RotateY.svg" />

## Signatures

```sql theme={"system"}
ST_RotateY(geometry: Geometry, angle: Double)
```

## Parameters

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

<ParamField body="angle" type="Double" required>
  The angle value.
</ParamField>

## Return type

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

## Example

```sql theme={"system"}
SELECT ST_RotateY(ST_GeomFromEWKT('SRID=4326;POLYGON ((0 0, 1 0, 1 1, 0 0))'), 10)
```

```
SRID=4326;POLYGON ((0 0, -0.8390715290764524 0, -0.8390715290764524 1, 0 0))
```
