<br><div class="gmail_quote">António M. Rodrigues:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
I&#39;ve been reading about scripting and programming in GRASS, since I believe the solution probably<br>
involves writing some code based on r.cost.<br>
<br>
But of course, any help is welcomed.<br></blockquote><div><br>Try GRASS 7 r41926, r.cost got a new raster output option with the nearest start point. Is this what you had in mind?<br><br></div></div>Markus M<br>