Bug report #4195
Zonal statistics plugin: wrong "sum" and "mean" when the raster is just partially overlapped to a polygon
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | Marco Hugentobler | ||
Category: | C++ Plugins | ||
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 |
Description
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.
History
#1 Updated by Giovanni Manghi about 13 years ago
- Resolution set to invalid
- Status changed from Open to Closed
after thinking about it (thanks Paolo) I believe that the actual behavior is the right one.