-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
There are a handful of aggregate functions for spatial data. (Collect, Extent, Union, etc.)
It would be nice if we had a way to represent them in LINQ.
| .NET | SQL Server | SpatiaLite | PostGIS |
|---|---|---|---|
| EnvelopeAggregate(@geoms) | Extent(@geoms) | ST_Extent(@geoms) | |
| GeometryCombiner.Combine(geoms) | CollectionAggregate(@geoms) | Collect(@geoms) | ST_Collect(@geoms) |
| UnaryUnionOp.Union(geoms) | UnionAggregate(@geoms) | GUnion(@geoms) | ST_Union(@geoms) |
| ConvexHull.Create(geoms) | ConvexHullAggregate(@geoms) | ST_ConvexHull(Collect(@geoms)) | ST_ConvexHull(ST_Collect(@geoms)) |