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
Last changed: $Date$
Main index - raster index - Full index
© 2003-2016 GRASS Development Team