ST_DISJOINT
functionsupportedCore SQL functionsReturns TRUE if the two GEOGRAPHY objects or the two GEOMETRY objects are disjoint (i.e. do not share any portion of space). ST_DISJOINT is equivalent to NOT ST_INTERSECTS(expr1, expr2). Note This function does not support using a GeometryCollection or FeatureCollection as input values.
Syntax
ST_DISJOINT( <geography_expression_1> , <geography_expression_2> )
ST_DISJOINT( <geometry_expression_1> , <geometry_expression_2> )
Parameters
| Name | Required | Description |
|---|---|---|
geography_expression_1 | required | A GEOGRAPHY object. |
geography_expression_2 | required | A GEOGRAPHY object. |
geometry_expression_1 | required | A GEOMETRY object. |
geometry_expression_2 | required | A GEOMETRY object. |
Returns
BOOLEAN.
Usage notes
- For GEOMETRY objects, the function reports an error if the two input GEOMETRY objects have different SRIDs.