Skip to content

Spatial: Translate aggregate functions #13278

@bricelam

Description

@bricelam

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
EnvelopeCombiner.Combine(geoms) 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))

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions