Feature request #6377
r.reclass path to reclass rules within modeler
|Pull Request or Patch supplied:||No||Resolution:||worksforme|
|Easy fix?:||No||Copied to github as #:||15637|
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.
#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 ?