Bug report #21924

the r.neighbors command does not work

Added by salvatore nieddu almost 5 years ago. Updated almost 5 years ago.

Status:Feedback
Priority:Normal
Assignee:-
Category:Processing/GRASS
Affected QGIS version:3.4.4 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29739

Description

the r.neighbors command (for raster analysis with floating window) does not work. There is no error message. Simply the final result is a non-result, in the sense that on the TOC a raster appears with improbable values, while on the screen no raster appears (I tried to save the temporary file but the file does not appear). I've also tried elementary rasters and different versions of QGIS, but it doesn't work in any way.

History

#1 Updated by Giovanni Manghi almost 5 years ago

  • Status changed from Open to Feedback

Please attach one of the rasters you are trying to use as input.

#2 Updated by salvatore nieddu almost 5 years ago

the raster that I have to submit to a floating window is a chm with integer values, weighs 400 mb but above all I can't supply it. The fact remains that I tried with a small raster, created for the occasion but the result is unacceptable.

#3 Updated by Giovanni Manghi almost 5 years ago

salvatore nieddu wrote:

the raster that I have to submit to a floating window is a chm with integer values, weighs 400 mb but above all I can't supply it. The fact remains that I tried with a small raster, created for the occasion but the result is unacceptable.

does the same tool, with the same parameters and inputs, work within native GRASS?

NOTE: you can link a sample dataset rather than attaching it. Proving sample data is the correct way to help us (to help you) in troubleshooting a problem. Do not expect us to try find a way/data to replicate your issue.

#4 Updated by salvatore nieddu almost 5 years ago

Does the same tool, with the same parameters and inputs, work within native GRASS?
RIS: no, I've tried it with older versions, but it doesn't work in any way.

NOTE: It is possible to link a sample data set instead of connecting it.
RIS. I'm sorry but I can't provide the data. In any case, let me point out that the tool does not work even with a very simple raster case.

#5 Updated by Giovanni Manghi almost 5 years ago

salvatore nieddu wrote:

Does the same tool, with the same parameters and inputs, work within native GRASS?
RIS: no, I've tried it with older versions, but it doesn't work in any way.

if it does NOT work in native GRASS then is NOT a QGIS issue: the QGIS Processing toolbox acts just a GUI for tools from SAGA, GDAL and GRASS.

Closing?

#6 Updated by salvatore nieddu almost 5 years ago

I don't think it's a version problem ... because I used the r.neighbor command some time ago without any problem ... now it doesn't work anymore ... is it possible to restore it?

#7 Updated by Giovanni Manghi almost 5 years ago

salvatore nieddu wrote:

I don't think it's a version problem ... because I used the r.neighbor command some time ago without any problem ... now it doesn't work anymore ... is it possible to restore it?

forget for a minute qgis: you should try in native GRASS, the same GRASS installation that comes with any QGIS installation (on Windows). If it does not work directly in GRASS then is not a QGIS issue and you should report it to the GRASS project.

#8 Updated by Alexander Bruy almost 5 years ago

Works fine in master and latest 3.4. Please provide steps to reproduce and sample dataset.

Also available in: Atom PDF