ST_Y

Learn how to use the ST_Y spatial function in PlaidCloud Lakehouse. Returns the Y coordinate (latitude) of a point geometry - with syntax and examples.

Returns the Y coordinate (latitude) of a point geometry.

Analyze Syntax

func.st_y(<point>)

Analyze Examples

func.st_y(func.st_point(1.5, 2.5))

┌─────┐
 2.5  
└─────┘

SQL Syntax

ST_Y(<point>)

SQL Examples

SELECT ST_Y(ST_POINT(1.5, 2.5));

┌─────┐
 2.5  
└─────┘