Class SpatialEquals
- Namespace
- YndigoBlue.Velocity.Functions
- Assembly
- YndigoBlue.Velocity.dll
Represents the ST_Equals spatial predicate that tests if two geometries are spatially equal.
public class SpatialEquals : Function, IElement, ICheckItem, IDefaultItem, IFilterItem
- Inheritance
-
SpatialEquals
- Implements
Remarks
Warning
Spatial functions are not available in the Community Edition of Velocity. They require the Full Edition.
The ST_Equals function returns true if two geometries represent the same geometric shape and location, regardless of how their points are ordered. Two geometries are equal if they have the same dimension and their point sets occupy the same space. For Geography types, operates on spherical earth model. Useful for detecting duplicate geometries or validating geometric equivalence. OGC-compliant.
Return Type: Boolean (true/false).
| Relationship | ST_Equals Result |
|---|---|
| Identical geometries | TRUE |
| Same shape, different vertex order | TRUE |
| Same shape, different start vertex | TRUE |
| Different shapes | FALSE |
| Different sizes | FALSE |
Constructors
- SpatialEquals(Geometry, Column)
Initializes a new instance of ST_Equals with a Geometry literal and column.
- SpatialEquals(Geometry, Function)
Initializes a new instance of ST_Equals with a Geometry literal and function result for function chaining.
- SpatialEquals(Column, Geometry)
Initializes a new instance of ST_Equals with a column and Geometry literal.
- SpatialEquals(Column, Column)
Initializes a new instance of ST_Equals with two columns for spatial joins.
- SpatialEquals(Column, Function)
Initializes a new instance of ST_Equals with a column and function result for function chaining.
- SpatialEquals(Column, Geography)
Initializes a new instance of ST_Equals with a column and Geography literal.
- SpatialEquals(Function, Geometry)
Initializes a new instance of ST_Equals with a function result and Geometry literal for function chaining.
- SpatialEquals(Function, Column)
Initializes a new instance of ST_Equals with a function result and column for function chaining.
- SpatialEquals(Function, Function)
Initializes a new instance of ST_Equals with two function results for function chaining.
- SpatialEquals(Function, Geography)
Initializes a new instance of ST_Equals with a function result and Geography literal for function chaining.
- SpatialEquals(Geography, Column)
Initializes a new instance of ST_Equals with a Geography literal and column.
- SpatialEquals(Geography, Function)
Initializes a new instance of ST_Equals with a Geography literal and function result for function chaining.