Solved

Raster Sampler to band values

  • 29 November 2021
  • 2 replies
  • 1 view

Badge +9

Is it possible to resample a raster so the values left are one of the existing band values?

 

If I use the raster re-sampler with the average 16 interpolation type, I get an average of the 16 cells but what I need is the value that occurs the most in these 16 cells.

icon

Best answer by bartjannink 29 November 2021, 09:34

View original

2 replies

Badge

With the RasterConvolver you can get the value that occurs most with the setting Operation: Majority. It doesn't change the raster size so you still need to use to RasterResampler on the output of the RasterConvolver.

Badge +9

Thanks @bartjannink​ that is exactly what I need.

Reply