Skip to content
🎉 Apache Sedona 1.8.1 is now available! Check out the new features and improvements.

ST_Azimuth

Introduction: Returns Azimuth for two given points in radians. Returns null if the two points are identical.

Format: ST_Azimuth(pointA: Point, pointB: Point)

Since: v1.3.0

Example:

SELECT ST_Azimuth(ST_POINT(0.0, 25.0), ST_POINT(0.0, 0.0))

Output:

3.141592653589793