QGIS Vectorization – How to Convert Raster to Vector from Multiple Raster Values

qgisrastervectorization

I have a raster GeoTIFF with values from 0 to 255 representing intensities. I want to Vectorize this information, but in ranges of 25.
As an example, I want to create a layer in which polygon islands representing values grouped between 230-255; 25-50; etc.

In another thread someone recommended using the "Vectorising Grid Classes" but that only works for 1 value!

Best Answer

QGIS 2.18

If you are using QGIS 2.18, you can use Reclassify values under SAGA in Processing toolbox

  • Go to Processing toolbox → SAGA → Raster tools → Reclassify values

enter image description here

  • Select raster file that you want to classify
  • Method: Simple table

enter image description here

  • Lookup Table click on the a new window will open

enter image description here

  • In the example, the raster data were classified into six classes, so you need to change the values based desired range and output

  • Reclassified grid: write a name for the new classified raster data.

Please make sure that you have selected the correct projection when you created the slope percent to give you the desired output from reclassify tool.

QGIS 3.4

In QGIS 3.4.1, there is a Reclassify by table tool which is located under Processing toolbox -> Raster analysis -> Reclassify by table.

enter image description here

Using the tool is almost same as the one explained for SAGA Reclassify tool.

After reclassify the data, you can use Vectorize tool to convert the raster into vector data. The Vectorize tool exists in both QGIS 2.18 and 3.4.

Related Question