DisJoint

Description

Determines if a geometry (testGeometry) object does not cross (touch) another geometry (containerGeometry) object.

Syntax

DisJoint ( testGeometry, containerGeometry )

Arguments

containerGeometry and testGeometry are geometry objects (or expressions),

Example

Determines if the defined box does not cross any of the specified countries.

select Disjoint(MI_Box(-13.36676789,8.05796847,79.06334219,62.70540978,'epsg:4326'),[Geometry_Column]) from countries where country = ANY ('Mauritania','Mali','Algeria')

Remarks

Returns true if testGeometry does not cross the containerGeometry, false otherwise. If either containerGeometry or testGeometry are null, false is returned. The function is performed using the coordinate system of the (containerGeometry).