[postgis-devel] ST_UnaryUnion vs ST_Dump + ST_Union

Sandro Santilli strk at keybit.net
Sun Oct 2 11:06:13 PDT 2011


On Sun, Oct 02, 2011 at 08:47:13AM -0700, Paul Ramsey wrote:
> On a semi-related note, why the new function signature? Why isn't this
> just ST_Union?

Because ST_Union is an aggregate, so can't be also a normal function.
Improving ST_Union (aggregate) to finally use the geos UnaryUnion would
be a sensible next step, but as not all supported GEOS versions do have
GEOSUnaryUnion it'll take some additional ifdefs.

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-devel mailing list