1

I used zonal statistics through QGIS to assign raster image values to polygons.
Here, Raster image has value in range from 0 to 238.567.

As a result, some NULL values are assigned to polygons,
even though raster image fully covers those polygons.

When "count" is assigned to zero, statistical values are set to NULL. But such a polygon is still on the raster image(at least visually).

What's wrong with it ?

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
Ichiro
  • 305
  • 1
  • 10

1 Answers1

1

The problem here is likely that the polygons are too small with respect to the cell size. If you use the resample tool , and reduce the cell size this hopefully will work.

However, be careful when you resample, as some types of data will lose their original meaning. For example, population counts, if the original value remains the same after resampling, will be invalid, as the population for a given area will increase with respect to the change in cell size.

You can use: Grass resample.

Ben_123
  • 53
  • 7
  • This will be relevant if the raster cell size is ~equivalent/larger than the polygons: https://gis.stackexchange.com/questions/276794/how-does-qgis-zonal-statistics-handle-partially-overlapping-pixels?rq=1 – Jon Sep 05 '19 at 15:53