All Implemented Interfaces:
NamedWriteable, Writeable, Resolvable, EvaluatorMapper

public class StX extends UnaryScalarFunction
Extracts the x-coordinate from a point geometry. For cartesian geometries, the x-coordinate is the first coordinate. For geographic geometries, the x-coordinate is the longitude. The function `st_x` is defined in the OGC Simple Feature Access standard. Alternatively it is well described in PostGIS documentation at PostGIS:ST_X.