1r.li.richness(1)            GRASS GIS User's Manual           r.li.richness(1)
2
3
4

NAME

6       r.li.richness  - Calculates richness index on a raster map
7

KEYWORDS

9       raster, landscape structure analysis, diversity index
10

SYNOPSIS

12       r.li.richness
13       r.li.richness --help
14       r.li.richness   input=name   config=name   output=name    [--overwrite]
15       [--help]  [--verbose]  [--quiet]  [--ui]
16
17   Flags:
18       --overwrite
19           Allow output files to overwrite existing files
20
21       --help
22           Print usage summary
23
24       --verbose
25           Verbose module output
26
27       --quiet
28           Quiet module output
29
30       --ui
31           Force launching GUI dialog
32
33   Parameters:
34       input=name [required]
35           Name of input raster map
36
37       config=name [required]
38           Configuration file
39
40       output=name [required]
41           Name for output raster map
42

DESCRIPTION

44       r.li.richness calculates the "richness diversity index" as:
45       with:
46
47           ·   m: number of different patch types
48

NOTES

50       Do not use absolute path names  for  the  config  and  output  file/map
51       parameters.    If   the   "moving   window"   method  was  selected  in
52       g.gui.rlisetup, then the output will be  a  raster  map,  otherwise  an
53       ASCII  file  will  be  generated  in  the  folder  C:\Users\userxy\App‐
54       Data\Roaming\GRASS7\r.li\output\            (MS-Windows)             or
55       $HOME/.grass7/r.li/output/ (GNU/Linux).
56
57       If  the  input  raster map contains only NULL values then r.li.richness
58       returns 0.
59

EXAMPLES

61       To calculate the richness diversity index on map my_map, using  my_conf
62       configuration  file (previously defined with g.gui.rlisetup) and saving
63       results in my_out, run:
64       r.li.richness input=my_map conf=my_conf output=my_out
65
66       Forest map (Spearfish sample dataset) example:
67       g.region raster=landcover.30m -p
68       r.mapcalc "forests = if(landcover.30m >= 41 && landcover.30m <= 43,1,null())"
69       r.li.richness input=forests conf=movwindow7 out=forests_richness_mov7
70       r.univar forests_richness_mov7
71
72       Forest map (North Carolina sample dataset) example:
73       g.region raster=landclass96 -p
74       r.mapcalc "forests = if(landclass96 == 5, 1, null() )"
75       r.li.richness input=forests conf=movwindow7 out=forests_richness_mov7
76       # verify
77       r.univar forests_richness_mov7
78       r.to.vect input=forests output=forests type=area
79       d.mon wx0
80       d.rast forests_richness_mov7
81       d.vect forests type=boundary
82

SEE ALSO

84        r.li - package overview
85       g.gui.rlisetup
86

REFERENCES

88       McGarigal, K., and B. J. Marks. 1995. FRAGSTATS: spatial pattern analy‐
89       sis  program for quantifying landscape structure. USDA For. Serv.  Gen.
90       Tech. Rep. PNW-351. (PDF)
91

AUTHORS

93       Serena  Pallecchi  student  of  Computer  Science  University  of  Pisa
94       (Italy).
95       Commission from Faunalia Pontedera (PI), Italy (www.faunalia.it)
96

SOURCE CODE

98       Available at: r.li.richness source code (history)
99
100       Main  index  | Raster index | Topics index | Keywords index | Graphical
101       index | Full index
102
103       © 2003-2020 GRASS Development Team, GRASS GIS 7.8.5 Reference Manual
104
105
106
107GRASS 7.8.5                                                   r.li.richness(1)
Impressum