Feature request #8778

Drop-down list as input parameter

Added by Pedro Venâncio over 10 years ago. Updated almost 9 years ago.

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

Description

Hi,

I think it would be interesting to have a drop-down list as one of the input parameters in Modeler. Right now we have the Number and String, but if the goal is to "force" the user to choose within a set of values ​​or strings, there is no possibility of doing so.

The drop-down list could then be built with pairs Value/Description: Value to be used; Description just to be shown in the drop-down.


Related issues

Related to QGIS Application - Feature request #11781: Processing - Add missing input parameters (e.g. CRS or fo... Closed 2014-12-03

History

#1 Updated by Filipe Dias over 10 years ago

  • Priority changed from Normal to High

This would be an excellent addition. I've been working with R/Sextante scripts and this would be extremely useful. There are some algorithms that can only accept non sequential values eg. 20, 50, 100.

#2 Updated by Alexander Bruy over 10 years ago

  • Priority changed from High to Normal

#3 Updated by Giovanni Manghi over 9 years ago

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

#4 Updated by Giovanni Manghi over 9 years ago

  • Category set to Processing/Modeller

#5 Updated by matteo ghetta almost 9 years ago

  • Status changed from Open to Closed

Fixed with a58085b

Also available in: Atom PDF