Table of Contents

Class SpatialOverlaps

Namespace
YndigoBlue.Velocity.Functions
Assembly
YndigoBlue.Velocity.dll

Represents the ST_Overlaps spatial predicate function that tests if two geometries overlap.

public class SpatialOverlaps : Function, IElement, ICheckItem, IDefaultItem, IFilterItem
Inheritance
SpatialOverlaps
Implements

Remarks

Warning

Spatial functions are not available in the Community Edition of Velocity. They require the Full Edition.

The ST_Overlaps function returns true if the two spatial objects have the same dimension, share some but not all points in common, and the intersection has the same dimension as the geometries themselves. According to the DE-9IM model, this means their interiors intersect, but neither geometry is completely within the other. Typically used for polygon-polygon or line-line comparisons. Useful for finding partially overlapping features like overlapping land parcels or service areas. OGC-compliant.

SpatialOverlaps diagram showing partial overlap scenarios

Return Type: Boolean (true/false).

RelationshipST_Overlaps Result
Partial overlap (same dimension)TRUE
One contains the otherFALSE (use ST_Contains)
Disjoint (no intersection)FALSE
Equal geometriesFALSE (use ST_Equals)

Constructors

SpatialOverlaps(Geometry, Column)

Initializes a new instance of ST_Overlaps with a geometry literal and column.

SpatialOverlaps(Geometry, Function)

Initializes a new instance of ST_Overlaps with a Geometry literal and function result for function chaining.

SpatialOverlaps(Column, Geometry)

Initializes a new instance of ST_Overlaps with a column and geometry literal.

SpatialOverlaps(Column, Column)

Initializes a new instance of ST_Overlaps with two columns for spatial joins.

SpatialOverlaps(Column, Function)

Initializes a new instance of ST_Overlaps with a column and function result for function chaining.

SpatialOverlaps(Column, Geography)

Initializes a new instance of ST_Overlaps with a column and geography literal.

SpatialOverlaps(Function, Geometry)

Initializes a new instance of ST_Overlaps with a function result and Geometry literal for function chaining.

SpatialOverlaps(Function, Column)

Initializes a new instance of ST_Overlaps with a function result and column for function chaining.

SpatialOverlaps(Function, Function)

Initializes a new instance of ST_Overlaps with two function results for function chaining.

SpatialOverlaps(Function, Geography)

Initializes a new instance of ST_Overlaps with a function result and Geography literal for function chaining.

SpatialOverlaps(Geography, Column)

Initializes a new instance of ST_Overlaps with a geography literal and column.

SpatialOverlaps(Geography, Function)

Initializes a new instance of ST_Overlaps with a Geography literal and function result for function chaining.