-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
r.statistics needs to be implemented as a special case in Processing (or removed) #20174
Comments
Author Name: Giovanni Manghi (@gioman) as it is implemented now in Processing, r.statistics cannot work. The reason is that the result of r.statistic (in native GRASS) is a raster layer that has the same pixel values of the base layer, where the computed statistics are stored into the (GRASS) raster labels. The computed values can be "extracted" by doing a simple r.mapcalc operation. So the options are:
|
Author Name: Giovanni Manghi (@gioman)
note: r.mapcalc "newoutput=@statistics_output" before outputting (newoutput) with r.out.gdal |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Markus Mayr (@scubbx)
Original Redmine Issue: 11967
Affected QGIS version: 2.6.1
Redmine category:processing/grass
Assignee: Victor Olaya
When using the "r.statistics" GRASS algorithm via the processing toolbox, the output always corresponds to the layer selected as "Base raster layer". There is no calculation performed.
A more specialized algorithm like "r.average" seems to perform the calculation.
The text was updated successfully, but these errors were encountered: