<div dir="ltr"><div class="gmail_extra">In case anyone else is interested, I have solved the problem. the resulting function is available at  <a href="https://github.com/alaw005/pgrouting_functions/blob/master/createSegmentedNetwork.sql">https://github.com/alaw005/pgrouting_functions/blob/master/createSegmentedNetwork.sql</a>. This is inspired by other posts and In row 84 I generate a sequence from 0 to <span class="" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.799999237060547px;white-space:pre">spacing</span><span class="" style="font-weight:bold;color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.799999237060547px;white-space:pre">*</span><span class="" style="color:rgb(0,153,153);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.799999237060547px;white-space:pre">100</span> (in original was 0 to 1000) but this might fail if there are too many segments. I would be interested if there is a better way or if there are any other suggestions for improving this. I have used to generate much more accurate catchment areas. </div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Regards<br></div><div class="gmail_extra">Adam</div><div class="gmail_extra"> </div><div class="gmail_extra"><br><br></div></div>