All Questions
Tagged with cost-surface r
10 questions
1
vote
0
answers
19
views
How to create a transition matrix from 3 rasters using gdistance
I have a dummy raster
nrows <- 4
ncols <- 7
ras <- raster(nrows = nrows, ncols = ncols)
values(rast) <- 1:(nrows * ncols)
And I have three rasters that represent the speed of going from a ...
1
vote
1
answer
234
views
R - gdistance: setting to 0 the conductance values of cells corresponding to a polyline
Goal
I aim at setting to 0 (i.e., not traversable) the cells of a transition matrix (storing conductance values) that correspond to a (poly)line.
Where I am stuck
I am having hard time to figure out ...
-1
votes
1
answer
218
views
Cost allocation in R
Background
I have been scratching my head for a while now on how to carry out cost allocation in R. I do know that there is a really useful package (namely 'gdistance') that can be used for cost ...
1
vote
0
answers
117
views
Cost surface in R: topographic distance betwen cells' centers in place of planar distance
Aim
Calculating slope-dependent walking distance taking into account topographic distance NOT planar distance between cell centers.
Tool
'gdistance' R package
Issue
I do not really know how to code to ...
3
votes
2
answers
731
views
Tobler's hiking function: resulting walking speed in KmH or m/s?
I was reading some literature dealing with least-cost path calculation and accumulate cost-surface generation using the Tobler's hiking function. I was reading this literature since I am trying to ...
3
votes
0
answers
294
views
Integrating use of surface distance when calculating cumulative cost-surface based on walking pace?
Disclaimer
This question is somewhat related to a number of earlier questions of mine:
Accumulated cost surface (Tobler's hiking function) ignoring slope using R gdistance?;
Calculating ...
9
votes
1
answer
3k
views
Understanding the values from transition layers produced by the R package `gdistance`
Background and Aim
I would like to create a cumulative raster representing walking time across a surface.
For my purposes, the cost to be accumulated has to be the walking time as influenced by ...
5
votes
1
answer
569
views
Working out travel time from gdistance's conductance values in R?
Introduction
This question is indirectly related to a previous post of mine (Calculating accumulated walking pace from starting location outwards using R?), but asks guidance about a different aspect, ...
7
votes
2
answers
342
views
Calculating accumulated walking pace from starting location outwards using R?
Goal
In R, I would like to calculate an accumulated cost surface around a starting location, with the cost representing the time (say, hours) to walk from the location outwards in all directions (say,...
1
vote
0
answers
516
views
Accumulated cost surface (Tobler's hiking function) ignoring slope using R gdistance?
Background
I wish to calculate in R the isochrones moving from a location outwards, implementing the Tobler's hiking function via the gdistance package (https://cran.r-project.org/web/packages/...