[postgis-devel] Is there a reason we don't have an ST_Intersection aggregate function

Paul Ramsey pramsey at cleverelephant.ca
Sun Aug 31 18:48:20 PDT 2014


Only reason is nobody ever asked for it, it's hard to figure great use
cases for it.

P

On Sun, Aug 31, 2014 at 6:16 PM, Paragon Corporation <lr at pcorp.us> wrote:
> I wasn't sure if we just thought there wasn't much utility in it or if there
> was a technical obstacle.
>
> I would think that would be easier to build than the other aggregates since
> as you add more geometries it shrinks and the current aggregate state is
> always the result of the previous state plus new geometry (so no need for an
> accumulation function or a final state function) and if you ever end up with
> a  geometry collection, you short-circuit out.
>
> Thanks,
> Regina
>
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel



More information about the postgis-devel mailing list