I'm using QGIS. I want a raster layer with 6 different colors each color representing a certain value range (e.g. -1 to 0 red, 0 to 0.2 orange).
In the layer style menu I can only approximate colors.
Answer
You may apply a reclassification by right-clicking on the layer in the Layers Panel and then clicking on Properties
: from the dialog that appears, go to Style
and then set these parameters (you can adapt them following your specific needs):
Please note that in step No.5 you set Equal interval
as Mode, but you only do this for the possibility of editing the number of classes (actually, you may choose a different threshold for different categories, even if the Equal interval
is set).
Finally, click the Apply
button for applying the changes.
Instead, if you want to create a reclassification on a new file, you may use several tools from the Processing Toolbox (as an example, the Reclassify values SAGA tool or the r.reclass GRASS module) or directly using the Raster Calculator
from the Raster
Menu.
No comments:
Post a Comment