Relationships

A relationship compares any two values and returns a result of true or false.

They can either compare scalar values or spatial geometries.

Scalar Relationships

A scalar relationship compares any two values (boolean, integers, real numbers, dates or strings).

The result is evaluated as true or false, returning true if the values have the specified relationship.

Relationships include equal, not equal, less than, greater than etc., as well as relationships specifically for string: contains, begins with, ends with or matches a regular expression.

ClosedTypes of Scalar Relationships

Spatial Relationships

A spatial relationship is a type of relationship only applied to geometry values. It returns true if the geometries have the specified relationship.

Any type of geometry can be passed into a spatial relationship check, but only the geometry types relevant to this spatial relationship will be tested. For example, if comparing areas, line geometries will not be tested.

Note: Some spatial relationships can be considered subsets of others. For example, Covered By is a subset of Within (if a geometry is Covered By another geometry, it is also Within that geometry).

The detailed description of each spatial relationship uses the terms interior, boundary, exterior. See Geometries for more information on these terms.

Spatial Relationships in 3D

Most of the spatial relationships in 1Integrate support 3D data, and generally have the same meaning as their 2D counterparts.

Note: Spatial relationships will behave differently if the geometry is a solid or if it is a multi-surface. for more information about full 3D data in 1Integrate, please see Full 3D Support.

Note: If you are loading 2.5D data, and not true 3D, then spatial relationships will be calculated in 2D. For example, 2.5D geometries will intersect if they intersect in 2D, regardless of height. To compare geometries in 3D they will nee to be loaded as True 3D Geometries

ClosedTypes of Spatial Relationships