st_y.asciidoc 655 B

12345678910111213141516171819202122232425262728293031
  1. [discrete]
  2. [[esql-st_y]]
  3. === `ST_Y`
  4. *Syntax*
  5. [.text-center]
  6. image::esql/functions/signature/st_y.svg[Embedded,opts=inline]
  7. *Parameters*
  8. `point`::
  9. Expression of type `geo_point` or `cartesian_point`. If `null`, the function returns `null`.
  10. *Description*
  11. Extracts the `y` coordinate from the supplied point.
  12. If the points is of type `geo_point` this is equivalent to extracting the `latitude` value.
  13. include::types/st_y.asciidoc[]
  14. *Example*
  15. [source.merge.styled,esql]
  16. ----
  17. include::{esql-specs}/spatial.csv-spec[tag=st_x_y]
  18. ----
  19. [%header.monospaced.styled,format=dsv,separator=|]
  20. |===
  21. include::{esql-specs}/spatial.csv-spec[tag=st_x_y-result]
  22. |===