https://github.com/fxi/accessmod_r.walk
Hacking GRASS GIS r.walk to accept multiple anisotropic cost formulas
https://github.com/fxi/accessmod_r.walk
Last synced: 3 months ago
JSON representation
Hacking GRASS GIS r.walk to accept multiple anisotropic cost formulas
- Host: GitHub
- URL: https://github.com/fxi/accessmod_r.walk
- Owner: fxi
- License: gpl-2.0
- Created: 2014-11-30T17:39:57.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-11-08T09:54:25.000Z (over 5 years ago)
- Last Synced: 2025-03-05T22:45:04.208Z (3 months ago)
- Language: C
- Size: 116 KB
- Stars: 10
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# r.walk.accessmod
This is an attempt to modify GRASS gis `r.walk` to accept other anisotropic formulas : tobler hiking function and bicycle function. This is an early experimental work.
Based on `r.walk` provided in grass 7.2.0. There is little chance thant this module works with another version of GRASS.
In this version, the module takes speed map as friction map input.
The speed map should be reclassed in three main categories, depending of the mode of transportation :
- 1000 : walking (tobler's hiking formula)
- 2000 : bicycling (formula from js app found on http://bikecalculator.com/wattsMetric.html)
- 3000 : other (not influenced by the slope)For each class, the base speed on flat surface is added to each categories. E.g.
- 3080 = car model for a base speed of 80 km/h. Elevation is ignored and an isotropic analysis is performed.
- 2015 = bicycle model for a base speed of 15 km/h, with anisotropic analysis.
- 1002 = walking model for a base speed of 2 km/h, with anisotropic analysis.compilation on linux, e.g.
```sh
sudo make MODULE_TOPDIR=/usr/local/grass-7.2.0
```compilation on mac, e.g. with hombrew grass-70
```sh
make MODULE_TOPDIR=/usr/local/Cellar/grass7/7.2.0/grass-7.2.0
```