GRASS logo

NAME - Complete Spatial Randomness analysis on moving window.


raster, landscape structure analysis, complete spatial randomness

SYNOPSIS --help input=name output=name [mask=string] keyval=integer n=integer method=string [size=integer] [--overwrite] [--help] [--verbose] [--quiet] [--ui]


Allow output files to overwrite existing files
Print usage summary
Verbose module output
Quiet module output
Force launching GUI dialog


input=name [required]
Name of input raster map
output=name [required]
Name for output raster map
Name of the mask raster file
keyval=integer [required]
Category value of the patches
n=integer [required]
Number of repetitions to calculate reference value
method=string [required]
Method to calculate resulting index
Options: clark_evans, donnelly
Size of the output matrix

Table of contents


Complete Spatial Randomness (CSR) analysis based on a moving window. This function uses either the Clark and Evans (1954) or Donnelly (1978) aggregation index for testing of clustering of point patterns.




An example for the North Carolina sample dataset: Compute the CSR for the whole landscape of landclass96 using class 5 (1000 iteration) using the Clark Evans method:
v.random output=randompoints n=100 zmin=0.0 zmax=0.0 input=randompoints output=randompoints  use=val val=1 input=randompoints keyval=1 n=1000 method=clark_evans output=csr1
The results for the whole landscape is prompted to the console. Compute the CSR for a defined moving window size of landclass96 using class 5 (1000 iteration, Clark Evans method): input=randompoints keyval=5 n=1000 method=clark_evans size=7 output=csr1


r.pi.corearea,, r.pi.export, r.pi.graph, r.pi.graph.dec,,, r.pi.grow, r.pi.import, r.pi.index, r.pi.lm, r.pi.odc,, r.pi.rectangle, r.pi


Programming: Elshad Shirinov
Scientific concept: Dr. Martin Wegmann
Department of Remote Sensing
Remote Sensing and Biodiversity Unit
University of Wuerzburg, Germany

Port to GRASS GIS 7: Markus Metz


Available at: source code (history)

Latest change: Tuesday Sep 19 09:59:22 2023 in commit: e76c325998c8cd9053ce012a5adbb79f33ab0779

Main index | Raster index | Topics index | Keywords index | Graphical index | Full index

© 2003-2024 GRASS Development Team, GRASS GIS 8.3.3dev Reference Manual