Feature request #5928

Random function

Added by Antti Ruonakoski almost 12 years ago. Updated almost 11 years ago.

Status:Closed
Priority:Normal
Assignee:Nathan Woodrow
Category:-
Pull Request or Patch supplied:No Resolution:fixed
Easy fix?:No Copied to github as #:15365

Description

Hi,

Please add RANDOM function to the expression builder. For example, it would be quite beneficial when calculating sample attribute values of randomly generated points.
To all developers, big thanks for QGIS! :)

History

#1 Updated by Nathan Woodrow almost 12 years ago

What kind of random number would you expect. Just plain ints? The Postgres random function returns a number between 0.0 and 1.0.

Would you want to be able to supply a max and min range?

#2 Updated by Paolo Cavallini over 11 years ago

  • Target version set to Version 2.0.0

#3 Updated by Nathan Woodrow almost 11 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

In master now

Also available in: Atom PDF