跳转至
🎉 SedonaDB 0.4.0 已正式发布!🗺️ 新增 Python DataFrame API、R dplyr 接口、Geography 支持及 GPU 加速空间连接。阅读发布博客 →

ST_Azimuth

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

ST_Azimuth

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

Return type: Double

SQL example:

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

Output: 3.141592653589793