The r.mcda.ahp Generate a raster map classified with analytic hierarchy process (AHP) [Saaty, 1977 and Saaty & Vargas, 1991]
(GRASS python Script)It is mandatory to build a pairwise comparation table with the same order of input of criteria maps in the criteria field.
Example: r.mcda.ahp criteria=reclass_slope,reclass_sand,reclass_elev pairwise=pairwise output=outputMap
The file "pairwise" has to have a structure like this:
#start file
1.0, 0.2, 3.0
5.0, 1.0, 5.0
0.3, 0.2, 1.0
#comment: order: reclass_slope,reclass_sand,reclass_
#end file
The first row and first column are related to the first criteria (reclass_slope in our case); the second row and second column are related to the second criteria (reclass_sand in our case) and the third row and third column are related to the third criteria ( reclass_elev in our cas), and so on.In the work directory should be generated a log.txt file were you can find additional information like: eigenvectors, eigenvalues, weights
Available at: r.mcda.ahp source code (history)
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
© 2003-2020 GRASS Development Team, GRASS GIS 7.8.3dev Reference Manual