Class SpatialNumGeometries
- Namespace
- YndigoBlue.Velocity.Functions
- Assembly
- YndigoBlue.Velocity.dll
Represents the ST_NumGeometries spatial property function that returns the number of component geometries in a geometry collection.
public class SpatialNumGeometries : Function, IElement, ICheckItem, IDefaultItem, IFilterItem
- Inheritance
-
SpatialNumGeometries
- Implements
Remarks
The ST_NumGeometries function returns the count of geometries within a geometry collection, multi-point, multi-linestring, or multi-polygon. For simple geometries (point, linestring, polygon), returns 1. For empty geometry collections, returns 0. This is useful for analyzing multi-part features, identifying complex geometries, or iterating through geometry collection components. For Geometry types in planar coordinate systems, helpful for understanding feature complexity and structure. OGC-compliant.
Constructors
- SpatialNumGeometries(Column)
Initializes a new instance of ST_NumGeometries with a geometry column.