SpatialRandomField
SpatialRandomField is a software that generates uniform-distributed spatial random fields using a moving average approach. It is both a stand-alone tool, and an integrated part of QuantumPopulationGeo-Analytics.
Software instruction at
http://digitalpopulations.pbworks.com/w/page/110082820/SpatialRandomFieldGenerator
What does it do?
- Generate normal-distributed spatial noise i. Each raster cell is assigned a random number from a normal distribution
- Generate a normal-distributed spatial random field from the spatial noise i. A new raster is created, with each cell value calculated using a moving average filter function from the original spatial noise
- Covert the normal-distributed spatial random field to a uniform-distributed random field
- Output the random field as a GeoTIFF
Prerequisites
GDAL
To run
Find the compiled executable (i.e. DigPopPopulationDensity) and run it with the following arguments:
RandomField OutputFieldName ReferenceFileName Distance Exponent flat seed(optional)
Input arguments:
- OutputFieldName: the output GeoTiff
- ReferenceFileName: the input GeoTiff from which the software gets spatial bounds, cell size and spatial reference system
- Distance: the radius of spatial moving window (filtering function)
- Exponent: the exponent of the filtering function
- Flat: the radius in the filtering function where all cells within such radius have the same maximum weight
- Seed(optional): the initial seed to generate random numbers