Thanks strk,<div>As far as I know convex hull basically applies to a collection of points..., nevertheless, I will try with my set of lines.</div><div><br><br><div class="gmail_quote">On Mon, May 3, 2010 at 9:56 AM, strk <span dir="ltr"><<a href="mailto:strk@keybit.net">strk@keybit.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Mon, May 03, 2010 at 09:32:54AM -0300, Oscar Zamudio wrote:<br>
> I need to clarify: my table is a table of streets. So ... I don't know how<br>
> to proceed.<br>
<br>
</div>You may be looking for ST_ConvexHull. Something like:<br>
<br>
SELECT ST_ConvexHull(ST_Collect(the_geom)) from mytable;<br>
<div class="im"><br>
--strk;<br>
<br>
  ()   Free GIS & Flash consultant/developer<br>
  /\   <a href="http://strk.keybit.net/services.html" target="_blank">http://strk.keybit.net/services.html</a><br>
</div><div><div></div><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br></div>