跳转至
🎉 Apache Sedona 1.9.1 已正式发布!🗺️ 新增 Geography SQL 函数、Box2D 与 Box3D 类型、栅格 Python UDF 等。查看发布说明 →

ST_Disjoint

Introduction: Return true if A and B are disjoint

ST_Disjoint returning true ST_Disjoint returning false

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

Return type: Boolean

Since: v1.2.1

Example:

SELECT ST_Disjoint(ST_GeomFromWKT('POLYGON((1 4, 4.5 4, 4.5 2, 1 2, 1 4))'),ST_GeomFromWKT('POLYGON((5 4, 6 4, 6 2, 5 2, 5 4))'))

Output:

true