Hi,<br><br>I need to write a query sql where is need to split a line over many points.<br><br>I know the postgis 2.0.0 has the ST_Split(line,point),<br>but it work on 1 only point, not on MultiPoint.<br><br>So I can't use it directly.<br>
<br>The only think i can suppose to do is develope a ricorsive procedure <br><br>- write a procedure that using the ST_Split() can split a line over a point output two lines and use this two lines to call again himself <br>
on the remains points. -<br><br>But I have many perplexity because I don't know if is possible to write a ricorsive method using the pgplsql, and this ricorsive method will be used in a query sql.<br><br>And perhaps there is a more easy method.<br>
<br>Any hint and suggestion is welcome,<br><br>thx,<br><br>-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty אטלעש<br>-----------------<br><br>