ST_Y¶
Returns the Y coordinate of the point, or NULL if not available.
Usage¶
double ST_Y(geom: geometry)
Arguments¶
- geom (geometry): Input geometry
Description¶
Returns NULL for non-point geometries or NULL input.
Examples¶
SELECT ST_Y(ST_Point(-74.0060, 40.7128));
┌───────────────────────────────────────────────────┐
│ st_y(st_point(Float64(-74.006),Float64(40.7128))) │
│ float64 │
╞═══════════════════════════════════════════════════╡
│ 40.7128 │
└───────────────────────────────────────────────────┘