Skip to content
πŸŽ‰ SedonaDB 0.4.0 is out now! πŸ—ΊοΈ Python DataFrame API, R dplyr, Geography support & GPU-accelerated spatial joins. Read the release blog β†’

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

SQL 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