How do I generate a random raster (or probabilistic cellular automaton) in QGIS?

I don't know of any cellular automaton tools integrated in QGIS yet, but if you just wanna generate a distributional based random raster based on a number of inputs (similar to this ArcGis function) then you could use the "Create random landscape" tool i implemented in the QGIS Plugin LecoS.

Example output (of a random raster with Gaussian distribution):

enter image description here

Many more distributions are available. The plugin can be started from within the Processing toolbox. Read more here.


I will try to look more into generating a cellular automaton landscape as soon as i have free time available.


EDIT Have you seen this answer? You could probably adapt the R-code for your needs and make it even loadable in QGIS-processing.


One solution that works:

  • Use GRASS function r.surf.random to create raster of cells with random value withing a defined range (this gives a uniform distribution)
  • Use Raster Calculator to determine values less than or equal to desired probability value (scaled for magnitude of range)
  • Repeat as needed