[discrete] [[esql-st_x]] === `ST_X` experimental::[] *Syntax* [.text-center] image::esql/functions/signature/st_x.svg[Embedded,opts=inline] *Parameters* `point`:: Expression of type `geo_point` or `cartesian_point`. If `null`, the function returns `null`. *Description* Extracts the `x` coordinate from the supplied point. If the points is of type `geo_point` this is equivalent to extracting the `longitude` value. include::types/st_x.asciidoc[] *Example* [source.merge.styled,esql] ---- include::{esql-specs}/spatial.csv-spec[tag=st_x_y] ---- [%header.monospaced.styled,format=dsv,separator=|] |=== include::{esql-specs}/spatial.csv-spec[tag=st_x_y-result] |===