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

ST_Equals

Introduction: Return true if A equals to B

ST_Equals returning true ST_Equals returning false

Format: ST_Equals (A: Geometry, B: Geometry)

Return type: Boolean

Since: v1.0.0

SQL Example

SELECT ST_Equals(ST_GeomFromWKT('LINESTRING(0 0,10 10)'), ST_GeomFromWKT('LINESTRING(0 0,5 5,10 10)'))

Output:

true