Bug report #1617

update of raster layers in GRASS modules

Added by Paolo Cavallini over 15 years ago. Updated about 15 years ago.

Assignee:nobody -
Affected QGIS version: Regression?:No
Operating System:Debian Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:11677


When running GRASS analyses, the update behaviour of raster maps is inconsistent: some modules show new maps as soon as they are produced, others require closing the module and reopening it. Even worst, possibly as a result of this, maps are sometimes silently updated, and analyses are run on the wrong (updated) map, instead of on this shown by the dropdown menu. This can obviously lead to wrong results


#1 Updated by Redmine Admin about 15 years ago

Can you specify the steps to reproduce the problem? The list of maps in comboboxes is updated whenever maps in legend are changed (i.e. usually if a new map is added to the canvas). Note that only the maps visualized in QGIS are listed.
( connect( canvas, SIGNAL ), this, SLOT ) ); )

For using wrong maps after update you are right, I have found the bug.


#2 Updated by Paolo Cavallini about 15 years ago

Sorry I was unclear: some modules (e.g. r.mapcalculator) have a "View output" button, others (e.g. r.surf.fractal) does not.

#3 Updated by Redmine Admin about 15 years ago

(Un)fortunately this inconsistency comes from GRASS. If a module has defined output option in GRASS correctly the button 'View output' is added. You can check this if you run the command with --interface-description. The output option should have <gisprompt age="new" element="cell" prompt="raster" /> tag.

r.surf.fractal did not have the output defined correctly, which was however fixed already:


#4 Updated by Redmine Admin about 15 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Fixed in revision 10812.

Work sponsored by http://www.faunalia.it


Also available in: Atom PDF