<div dir="ltr"><div><div><div><div><div>Hi list,<br><br></div>A while ago I asked a similar question about calculating cost to port considering a road network. I got this sorted out and results look nice. But now I'd like to include some rail lines in the analysis.<br><br></div>The problem is that if I just add rail lines to my cell cost raster, the rail lines will be treated as roads, that is, I could 'board a train' anywhere along the rail line and not only at the stations.<br><br></div>I though about adding a buffer to the rail line with a very high cost (or null value). But that would fail where roads crosses rail lines. Is it possible to solve this using r.cost? Or do  I need to use some other method, like <a href="http://v.net">v.net</a>?<br><br></div>Cheers<br></div>Daniel<br></div>