Bug report #19816

Parameter label "Expression" is not meaningful

Added by Harrissou Santanna almost 6 years ago. Updated almost 6 years ago.

Affected QGIS version:3.3(master) Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:27640


The "Random points inside polygons" algorithm provides a parameter named "Expression" which imho does not help to know what user is supposed to fill in. A more verbose label would be handy (i notice that in the user manual docs, this parameter is called "Number or density of points" and as I suppose we do not invent it, i'd bet for some changes that later hide/remove that label and maybe it's not the only one affected)


#1 Updated by Nyall Dawson almost 6 years ago

Looks like it's evaluated and used as either the "number of points" or "density of points".

This is unfortunate -- I wish we'd caught this before 3.0. That parameter should be replaced by a normal "numeric" parameter, with a data-defined control for entering expressions.

Also available in: Atom PDF