Bug report #4195
Zonal statistics plugin: wrong "sum" and "mean" when the raster is just partially overlapped to a polygon
|Affected QGIS version:||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||invalid|
|Crashes QGIS or corrupts data:||Copied to github as #:||14169|
Take a raster and then a polygon grid that overlaps it. If the grid matches perfectly the raster extent than no problems. If part of the grid is out of the extent of the raster then the calculations for the grid polygons that are not completely overlapped to the raster, are all equal to "0".
I'll attach two sample files.