[postgis-users] Polygons enclosing points

Rodrigo Martín LÓPEZ GREGORIO rodrigomlg at gmail.com
Thu Jul 5 06:26:16 PDT 2007


Hi Broun

I'm not sure if this is what you want but you can try with:

select ConvexHull(Collect(the_geom)) from tablename;

I hope it works for you.

Rodrigo

On 7/5/07, Broun Uganda <tekuganda at hotmail.com> wrote:
>
>
>  Dear all
> I have many points in a map layer which i want to surround with a polygon.
> Is there a way to automatically create optimum polygons that each enclose
> only one point and snap at their vertices?
> Thank you
>
>
> Broun Uganda
>
>
> ------------------------------
> Make every IM count. Download Windows Live Messenger and join the i'm
> Initiative now. It's free.   Make it count!<http://im.live.com/messenger/im/home/?source=TAGWL_June07>
>
> _______________________________________________
> 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/20070705/b90a6038/attachment.html>


More information about the postgis-users mailing list