[postgis-users] visually linking the polygons of multipolygon layer

Fred Lehodey lehodey at gmail.com
Tue Sep 16 07:53:37 PDT 2008


Hi Erik,


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

Fred.


On Tue, Sep 16, 2008 at 2:06 PM, erik <whatevar89 at gmail.com> wrote:

> Hi,
>
> I'm not sure I know how to formulate this
> 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.
>
> Is this possible, is there some predefined function that could accomplish
> this?
>
> Many thanks,
>
> Erik
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20080916/2a0812ab/attachment.html>


More information about the postgis-users mailing list