You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the Zonal stats algorithm aligns properly with PostGIS Raster, python package rasterstats values. I think QGIS would benefit from implementing some of the options available in rasterstats
Looking at the results I get from running zonal stats in QGIS and comparing this with the one found after using rasterstats, I believe QGIS implements the option all_touched=True
Maybe we could also provide this as an option in the GUI so that users can choose the rasterisation strategy
Feature description
Currently, the Zonal stats algorithm aligns properly with PostGIS Raster, python package
rasterstats
values. I think QGIS would benefit from implementing some of the options available inrasterstats
Rasterization Strategy
Described at https://pythonhosted.org/rasterstats/manual.html#rasterization-strategy
Looking at the results I get from running zonal stats in QGIS and comparing this with the one found after using
rasterstats
, I believe QGIS implements the optionall_touched=True
Maybe we could also provide this as an option in the GUI so that users can choose the rasterisation strategy
working-with-categorical-rasters
Described at https://pythonhosted.org/rasterstats/manual.html#working-with-categorical-rasters
I haven't tried this in QGIS to see how it works but if it doesn't do this, maybe we could implement it
Additional context
No response
The text was updated successfully, but these errors were encountered: