[postgis-users] Polygon union

Brian Sanjeewa Rupasinghe jinkabs at gmail.com
Fri Nov 29 13:31:21 PST 2013


Hi,

I use ST_union aggregate function to union a set of polygons with group by
clause.
I see there is another function ST_UnaryUnion() in PostGIS. Can i use it
instead of
normal ST_Union? When i replaced ST_Union with ST_UnaryUnion in the query,
it gave me an error because it is not an aggregate function. So how to use
this function
in a PostGIS query which selects group of polygons using group by clause?

Cheers, Brian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20131129/08e766ae/attachment.html>


More information about the postgis-users mailing list