Hello <br><br>I&#39;m trying to built a cost surface. I&#39;ve already built a raster with the pixel cost,  but i canīt get the cost that is required to arrive to point A. I&#39;m trying - &quot;r.cost input=r_vias@12_03 output=exp start_rast=h_rast@12_03 max_cost=0 percent_memory=100&quot; but it takes a lot of time and the result it&#39;s linear, it do not  reflect the differences in the original raster.<br>
<br>I&#39; trying to do something similar to the cost weighted function in arcgis.<br><br><br>Tks<br>