<div dir="ltr"><div>=> ST_LineMerge() <br></div>
<div>Fred.<br></div>
<div class="gmail_quote">On Tue, Oct 7, 2008 at 8:58 PM, David William Bitner <span dir="ltr"><<a href="mailto:bitner@gyttja.org">bitner@gyttja.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div dir="ltr">Check out ST_Merge()
<div>
<div></div>
<div class="Wj3C7c"><br><br>
<div class="gmail_quote">On Tue, Oct 7, 2008 at 3:54 PM, Stephen Woodbridge <span dir="ltr"><<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi all,<br><br>This is very annoying. I have two linestrings the join end-to-end and I want to build a new single linestring by merging the two. How can I do this?<br>
<br>Thanks,<br> -Steve<br><br><br>select astext( ST_Union( ST_GeomFromText('LINESTRING(35.5269251710001 33.891749555,35.527091166 33.8917984710001)'),<br>ST_GeomFromText('LINESTRING(35.527091166 33.8917984710001,35.5274352000001 33.8918998510001,35.528236559 33.8919810230001)') ));<br>
<br> astext <br>--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br> MULTILINESTRING((35.5269251710001 33.891749555,35.527091166 33.8917984710001),(35.527091166 33.8917984710001,35.5274352000001 33.8918998510001,35.528236559 33.8919810230001))<br>
(1 row)<br><br>_______________________________________________<br>postgis-users mailing list<br><a href="mailto:postgis-users@postgis.refractions.net" target="_blank">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>
</blockquote></div><br><br clear="all"><br></div></div>-- <br>************************************<br>David William Bitner<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>