Skip to main content
Returns Azimuth for two given points in radians. Returns null if the two points are identical. ST_Azimuth

Signatures

ST_Azimuth(pointA: Point, pointB: Point)

Parameters

pointA
Point
required
The input point.
pointB
Point
required
The second input point.

Return type

A numeric value.

Example

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