[GRASS-user] Calculating cost to port - now with rail

2018-01-19 Thread Daniel Victoria
Hi list, 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. The problem is that if I just add rail lines to my cell cost raster, the rail lines

Re: [GRASS-user] Calculating cost to port

2017-11-10 Thread Daniel Victoria
Wow, that was fast. I was just about to reply the I found out I should put the ports as starting points. And that is clearly stated in the manual https://grass.osgeo.org/grass70/manuals/r.cost.html#shortest-distance-surfaces Thanks all Cheers On Fri, Nov 10, 2017 at 2:21 PM Moritz Lennert

Re: [GRASS-user] Calculating cost to port

2017-11-10 Thread Moritz Lennert
Le Fri, 10 Nov 2017 16:03:45 +, Daniel Victoria a écrit : > Hi list, > > I want to calculate a cost of getting from any cell in my raster to > some ports, considering roads network, and I though r.cost could > solve this. > > What I have is: > 1) Cost raster map

Re: [GRASS-user] Calculating cost to port

2017-11-10 Thread Anna Petrášová
Hi Daniel, On Fri, Nov 10, 2017 at 11:03 AM, Daniel Victoria wrote: > Hi list, > > I want to calculate a cost of getting from any cell in my raster to some > ports, considering roads network, and I though r.cost could solve this. > > What I have is: > 1) Cost raster

[GRASS-user] Calculating cost to port

2017-11-10 Thread Daniel Victoria
Hi list, I want to calculate a cost of getting from any cell in my raster to some ports, considering roads network, and I though r.cost could solve this. What I have is: 1) Cost raster map with cost per cell (10 for normal cells, 1 if it's a road) 2) vector map containing several ports 3)