Table of Contents

Class SpatialIsEmpty

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

Represents the ST_IsEmpty spatial validation function that tests whether a geometry is empty.

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

Remarks

Warning

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

The ST_IsEmpty function returns true if the geometry represents an empty set with no points, lines, or polygons. Empty geometries are valid but contain no spatial information. They can result from spatial operations that produce no geometric output, such as the intersection of disjoint geometries. For both Geometry types (planar coordinate systems) and Geography types (spherical surfaces), this is useful for validating operation results, filtering null geometries, or data quality checks. OGC-compliant.

SpatialIsEmpty diagram showing empty vs non-empty geometries

Return Type: Boolean (true/false).

GeometryST_IsEmpty Result
POINT(1 2)FALSE
POINT EMPTYTRUE
LINESTRING(0 0, 1 1)FALSE
LINESTRING EMPTYTRUE
Result of ST_Intersection on disjoint geometriesTRUE

Constructors

SpatialIsEmpty(Geometry)

Initializes a new instance of ST_IsEmpty with a geometry literal.

SpatialIsEmpty(Column)

Initializes a new instance of ST_IsEmpty with a geometry column.

SpatialIsEmpty(Geography)

Initializes a new instance of ST_IsEmpty with a geography literal.