I need to reclass some rasters, but i am having a couple of problems, i can´t generate a new raster with the reclassification using the r.reclass of GRASS.
For the question here i´m using as example (images attached below) a slope raster that i need to reclass for exact values (declives_rules). When i run the operation, happens a error!
I wonder if i could use the raster calculator to reclass this raster?
Best Answer
The problem might be with your rule file. When you use GRASS through QGIS, it will do something similar:
In your custom rule file there is a little script, which will initialize
r.reclass
with other parameters than QGIS has collected from you. It will search for declives_map, however either it hasn't been created yet, or it has been created, but with other name. Leave the parametrizing to QGIS when you invoke GRASS from it. The correct rule file in your case is the following:It will create the reclassified map without a single problem.