fxi / AccessMod_r.walk

Hacking GRASS GIS r.walk to accept multiple anisotropic cost formulas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 :

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.

sudo make MODULE_TOPDIR=/usr/local/grass-7.2.0

compilation on mac, e.g. with hombrew grass-70

make MODULE_TOPDIR=/usr/local/Cellar/grass7/7.2.0/grass-7.2.0

About

Hacking GRASS GIS r.walk to accept multiple anisotropic cost formulas

License:GNU General Public License v2.0


Languages

Language:C 81.2%Language:HTML 7.8%Language:C++ 6.8%Language:JavaScript 3.1%Language:Makefile 0.6%Language:R 0.6%