Update g_track set line=AddPoint(line, GeomFromText('POINT(4.92 52.35)',4326)) where id=101;<br><br><div><span class="gmail_quote">On 2/12/07, <b class="gmail_sendername">Just van den Broecke</b> <<a href="mailto:just@justobjects.nl">
just@justobjects.nl</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>What is the way to go for appending POINTs to a LINESTRING without
<br>reading the entire LINESTRING into the client ? i.e. for example<br><br>SELECT AddPoint(line, GeomFromText('POINT(4.92 52.35)',4326)) as line<br>FROM ( SELECT line FROM g_track WHERE id=101) foo;<br><br>Will do the append but will still require an UPDATE to be done with the
<br>resulting line. Would "one-shot" appending require a (plpg)sql function<br>or is there some other way ?<br><br>thanks,<br><br>--Just<br><br>Just van den Broecke<br><a href="http://www.justobjects.nl">http://www.justobjects.nl
</a><br>The Netherlands<br><br><br><br><br><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">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>************************************
<br>David William Bitner