Class SpatialArea
- Namespace
- YndigoBlue.Velocity.Functions
- Assembly
- YndigoBlue.Velocity.dll
Represents the ST_Area spatial function that calculates the area of a polygon or multi-polygon geometry.
public class SpatialArea : Function, IElement, ICheckItem, IDefaultItem, IFilterItem
- Inheritance
-
SpatialArea
- Implements
Remarks
The ST_Area function returns the area of a geometry. For Geometry types (planar), it calculates area in coordinate system units squared. For Geography types (spherical), it calculates area on the earth's surface, optionally in specified units. Returns 0 for non-areal geometries (points, lines). Useful for land area calculations, geographic analysis, and spatial statistics. OGC-compliant.
Constructors
- SpatialArea(Column)
Initializes a new instance of ST_Area for a geometry column.
- SpatialArea(Column, UnitOfMeasure)
Initializes a new instance of ST_Area for a geography column with a unit of measure.