R/duckdb-funs.R
ST_Azimuth.Rd
Returns the azimuth (a clockwise angle measured from north) of two points in radian.
ST_Azimuth(origin, target)
GEOMETRY | POINT_2D
DOUBLE
The spatial extension (LOAD spatial;).
spatial
LOAD spatial;
SELECT degrees(ST_Azimuth(ST_Point(0, 0), ST_Point(0, 1))); -- 90.0