Table of Contents

Class SpatialPointOnSurface

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

Represents the ST_PointOnSurface spatial analysis function that returns a point guaranteed to be on the geometry's surface.

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

Remarks

The ST_PointOnSurface function returns a point that is guaranteed to lie on the surface (interior or boundary) of the input geometry. Unlike ST_Centroid, which may fall outside the geometry, this function always returns a point within or on the geometry itself. For polygons, returns a point inside the polygon. For lines, returns a point on the line. For points, returns the point itself. Useful for label placement, guaranteed interior point sampling, or ensuring points lie within boundaries. OGC-compliant.

Constructors

SpatialPointOnSurface(Column)

Initializes a new instance of ST_PointOnSurface with a spatial column.