[postgis-users] Need a "polygon box" of a table instead of the bounding box that returns extent function

Oscar Zamudio cmntlk at gmail.com
Mon May 3 07:18:03 PDT 2010


Thanks strk,
As far as I know convex hull basically applies to a collection of points...,
nevertheless, I will try with my set of lines.


On Mon, May 3, 2010 at 9:56 AM, strk <strk at keybit.net> wrote:

> On Mon, May 03, 2010 at 09:32:54AM -0300, Oscar Zamudio wrote:
> > I need to clarify: my table is a table of streets. So ... I don't know
> how
> > to proceed.
>
> You may be looking for ST_ConvexHull. Something like:
>
> SELECT ST_ConvexHull(ST_Collect(the_geom)) from mytable;
>
> --strk;
>
>  ()   Free GIS & Flash consultant/developer
>  /\   http://strk.keybit.net/services.html
> _______________________________________________
> 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/20100503/78339e87/attachment.html>


More information about the postgis-users mailing list