[postgis-users] aggregate different geometries

Martin Davis mtnclimb at gmail.com
Mon May 20 19:51:02 PDT 2019


On Mon, May 20, 2019 at 7:02 AM Braune, Christopher <
Christopher.Braune at lfu.brandenburg.de> wrote

>
>
> The target is the smallest geometry that contains all single geometries.
> For example, three points creates a triangle-polygon.
>

Do you mean you want the convex hull of the grouped geometries?   If so,
you could use ST_ConvexHull.  It's not an aggregate function (which it
should be), but you can use ST_Collect to aggregate the geometries to run
it on.

>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20190520/16545a0c/attachment.html>


More information about the postgis-users mailing list