Back to Elasticsearch

St Y

docs/reference/query-languages/esql/kibana/docs/functions/st_y.md

9.4.0391 B
Original Source

% This is generated by ESQL's AbstractFunctionTestCase. Do not edit it. See ../README.md for how to regenerate it.

ST Y

Extracts the y coordinate from the supplied point. If the point is of type geo_point this is equivalent to extracting the latitude value.

esql
ROW point = TO_GEOPOINT("POINT(42.97109629958868 14.7552534006536)")
| EVAL x =  ST_X(point), y = ST_Y(point)