Feature request #6377

r.reclass path to reclass rules within modeler

Added by Pedro Venâncio about 8 years ago. Updated almost 5 years ago.

Status:Closed
Priority:Normal
Assignee:Victor Olaya
Category:Processing/Modeller
Pull Request or Patch supplied:No Resolution:worksforme
Easy fix?:No Copied to github as #:15637

Description

Currently there is no way to interactively select the path to the file with the reclass rules, for use with r.reclass within the modeler.

Despite that, placing the complete path for the file with reclass rules, it works. But it becomes somewhat limited because either the file remains always in the same place or it's necessary to update the path within the modeler whenever a new file is used.

History

#1 Updated by Giovanni Manghi over 7 years ago

see also #7302

#2 Updated by Giovanni Manghi about 6 years ago

  • Project changed from 78 to QGIS Application
  • Category deleted (64)

#3 Updated by Giovanni Manghi about 6 years ago

  • Category set to Processing/Modeller

#4 Updated by Médéric RIBREUX almost 5 years ago

  • Status changed from Open to Feedback

Hello, bug triage...

to put a path in Processing modeler, you have to create an input with "File" type. Once done, you can use this input into r.reclass module on the "File containing reclass rules" option.
I think this is normal in modeler. When you want to work on only a single layer, you also have to declare it as an input, so it should be the same for options that need file path.

With this mechanism, you can make this path selectable for the user. Perhaps all you need is a way to have a constant file path in the input File type (but it should be covered in another feature request) ?

What do you think, could we close this bug ?

#5 Updated by Pedro Venâncio almost 5 years ago

Hi Médéric,

You are absolutely right! Thank you very much!

Can someone with sufficient privileges close this feature request?

Thanks!

#6 Updated by Médéric RIBREUX almost 5 years ago

  • Resolution set to worksforme
  • Status changed from Feedback to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF