I guess the best way to do this is to combine the actual line and a "virtual" line, probably a view, with "measured" points.<div><br></div><div>This involves a bit of thinking but it might be possible.</div>
<div><br></div><div>George<br><br><div class="gmail_quote">On Wed, Mar 28, 2012 at 3:03 PM, Stephen Woodbridge <span dir="ltr"><<a href="mailto:woodbri@swoodbridge.com">woodbri@swoodbridge.com</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 3/28/2012 1:26 PM, Andrés Maneiro wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 28/03/12 18:26, Sandro Santilli wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Wed, Mar 28, 2012 at 06:22:28PM +0200, Andrés Maneiro wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
LINESTRINGM(1 0 1,2 0 2,4 0 4)<br>
</blockquote></blockquote>
<br>
Oh, I get it. And there is a native way in postgis to calibrate the line<br>
from a given set of measured points instead of using the ends?<br>
<br>
--<br>
<br>
If I understand it correctly I could:<br>
<br>
1) mylinestringm = ST_AddMeasure(mylinestring, measure_start, measure_end);<br>
2) Add the given set of points to mylinestringm with ST_AddPoint<br>
3) Using ST_SetPoint to move the original vertexes.<br>
<br>
Is that correct? I'm very interested to know if there is a more direct<br>
and proper way to create a route from a set of points.<br>
</blockquote>
<br></div>
ST_MakeLine [1] can be used to aggregate a sequence of points into a line.<br>
<br>
[1] <a href="http://www.postgis.org/documentation/manual-1.5/ST_MakeLine.html" target="_blank">http://www.postgis.org/<u></u>documentation/manual-1.5/ST_<u></u>MakeLine.html</a><div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.<u></u>refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.<u></u>net/mailman/listinfo/postgis-<u></u>users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>George R. C. Silva<br><br>Desenvolvimento em GIS<br><a href="http://geoprocessamento.net" target="_blank">http://geoprocessamento.net</a><br><a href="http://blog.geoprocessamento.net" target="_blank">http://blog.geoprocessamento.net</a><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div><br>
</div>