2

I am using QGIS 3.22.7, and I wish to classify a continuous raster with one band into 5 discrete categories based on raster values. The raster I am working with can be found here (file size: 874 KB). (The projection is EPSG 6343). In ArcGIS Pro, this can be accomplished easily by selecting "symbology," choosing the "classify" option, and then selecting the number of categories you wish to classify the raster into. This changes it from a continuous to a discrete raster.

However, I am having difficulty doing this with QGIS. Does anybody know how to do this?

0

1 Answer 1

3

QGIS has a Reclassify by Table tool as of QGIS 3.2. Here is a link to the tool documentation. This would result in a new raster layer split into your chosen categories.

If you want to only display in classes then open the layer's symbology. Set to equal interval, define the number of classes you want. Finally, click the values and type in values that you want. See this link for the official documentation on symbolizing by classes.

enter image description here

2
  • 1
    Plus you should set Interpolation to Discrete (not Linear, as in your screenshot).
    – Babel
    Aug 10 at 21:07
  • Thank you very much! Aug 10 at 21:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.