snowflake.snowpark.functions.st_azimuth¶
- snowflake.snowpark.functions.st_azimuth(geography_or_geometry_origin: Union[snowflake.snowpark.column.Column, str], geography_or_geometry_target: Union[snowflake.snowpark.column.Column, str]) Column[source]¶
Calculates the azimuth (bearing) in radians from the origin point to the target point. The azimuth is measured clockwise from north and returned as a value between 0 and 2π.
- Parameters:
geography_or_geometry_origin (ColumnOrName) – The origin point as a GEOGRAPHY or GEOMETRY object
geography_or_geometry_target (ColumnOrName) – The target point as a GEOGRAPHY or GEOMETRY object
- Returns:
The azimuth in radians from origin to target point
- Return type:
Examples: