Feature request #13663

Templated input parameter

Added by Giovanni Allegri over 4 years ago. Updated almost 3 years ago.

Status:Open
Priority:Normal
Assignee:Victor Olaya
Category:Processing/Core
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:21698

Description

The cases where a raster calculator or a QGIS expression needs to be used inside e model or a script, it can be useful to let the user configure only some parts of the expression. E.g. in an Extract by Attributes algorithm I could have "MYFIELD = X". It would be great if the two strings "MYFIELD" and "X" could be obtained from inputs and interpolated inside a template string like "{0} = {1}".
There are various way to design such an input parameter type. This is just a feature request.

(If I will find the time I will try to develop some proposals and maybe submit a PR)

History

#1 Updated by Giovanni Manghi almost 3 years ago

  • Easy fix? set to No

Also available in: Atom PDF