## ST_Y

The `ST_Y` function extracts the y coordinate from the supplied point. If the points is of type `geo_point` this is equivalent to extracting the latitude value.

### Syntax

`ST_Y(point)`

### Parameters

- `point`: Expression of type `geo_point` or `cartesian_point`. If null, the function returns null.

### Examples

Here are a couple of examples of how you can use the `ST_Y` function in ES|QL queries:

```esql
ROW point = TO_GEOPOINT("POINT(42.97109629958868 14.7552534006536)")
| EVAL y = ST_Y(point)
```

```esql
FROM geo_data
| EVAL latitude = ST_Y(location)
| WHERE latitude > 50
```