<div dir="ltr">Hi Erik,<br><br><br>SELECT gid, ST_ConvexHull(ST_Collect(pts)) FROM (SELECT gid, ST_PointOnSurface((ST_dump(geometry)).geom) AS pts FROM yourTable) AS foo GROUP BY gid<br><br>Fred.<br><br><br><div class="gmail_quote">
On Tue, Sep 16, 2008 at 2:06 PM, erik <span dir="ltr"><<a href="mailto:whatevar89@gmail.com">whatevar89@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Hi,<br><br>I'm not sure I know how to formulate this<br>I have a set of Multipolygons. I'd like to link somehow the polygons of each multipolygon with a "string", an arc, that expresses their belonging to the same polygon.<br>
<br>Is this possible, is there some predefined function that could accomplish this?<br><br>Many thanks,<br><br>Erik<br></div>
<br>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
<br></blockquote></div><br></div>