GRASS logo

NAME - Patch relevance for Euclidean Nearest Neighbor patches.



SYNOPSIS --help [-a] input=name output=name keyval=integer method=string statmethod=string [title="phrase"] [--overwrite] [--help] [--verbose] [--quiet] [--ui]


Set for 8 cell-neighbors. 4 cell-neighbors are default
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
keyval=integer [required]
Key value of patches in the input file
method=string [required]
Aspect of the nearest patch to use.
Options: distance, area
statmethod=string [required]
Statistical method to perform on differences.
Options: sum, average
Title for resultant raster map

Table of contents


Patch relevance for Euclidean Nearest Neighbor patches. computes distance and area differences for the first NN after removal of patch i.


The keyval operator determines which category value is taken for the Patch Index analysis.

The method operators determine what measure is applied on the nth NN (area or distance).

Differences of distance/area after removal of patch i are provided as output as well as the amount of patches to be affected by its removal (percent) (PP) and the amount of area in these patches (PA - Percent Area)


An example for the North Carolina sample dataset:

Analysing the differences (average) in distance when patch i of class 5 is removed: input=landclass96 output=dist_iter keyval=5 method=distance statmethod=average 


r.pi.index, r.pi.enn, r.pi.fnn,, 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

Last changed: $Date: 2017-05-10 23:56:34 +0200 (Wed, 10 May 2017) $


Available at: source code (history)

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

© 2003-2018 GRASS Development Team, GRASS GIS 7.4.1svn Reference Manual