1r.li.padsd(1) GRASS GIS User's Manual r.li.padsd(1)
2
3
4
6 r.li.padsd - Calculates standard deviation of patch area a raster map
7
9 raster, landscape structure analysis, patch index
10
12 r.li.padsd
13 r.li.padsd --help
14 r.li.padsd input=name config=name output=name [--overwrite] [--help]
15 [--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
44 r.li.padsd calculates the standard deviation of patch area sizes in
45 hectares as:
46 with:
47
48 • MPS: mean patch area size
49
50 • ai: area of patch i
51
52 • Npatch: number of patches
53
54 This index is calculated using a 4 neighbour algorithm, diagonal cells
55 are ignored when tracing a patch.
56
58 Do not use absolute path names for the config and output file/map pa‐
59 rameters. If the "moving window" method was selected in
60 g.gui.rlisetup, then the output will be a raster map, otherwise an
61 ASCII file will be generated in the folder C:\Users\userxy\App‐
62 Data\Roaming\GRASS8\r.li\output\ (MS-Windows) or
63 $HOME/.grass8/r.li/output/ (GNU/Linux).
64
65 The result is NULL if the sample area contains only NULL values.
66
68 To calculate patch area distribution standard deviation index on map
69 my_map, using my_conf configuration file (previously defined with
70 g.gui.rlisetup) and saving results in my_out, run:
71 r.li.padsd input=my_map conf=my_conf output=my_out
72
73 Forest map (Spearfish sample dataset) example:
74 g.region raster=landcover.30m -p
75 r.mapcalc "forests = if(landcover.30m >= 41 && landcover.30m <= 43,1,null())"
76 r.li.padsd input=forests conf=movwindow7 out=forests_padsd_mov7
77 r.univar forests_padsd_mov7
78
79 Forest map (North Carolina sample dataset) example:
80 g.region raster=landclass96 -p
81 r.mapcalc "forests = if(landclass96 == 5, 1, null() )"
82 r.li.padsd input=forests conf=movwindow7 out=forests_padsd_mov7
83 # verify
84 r.univar forests_padsd_mov7
85 r.to.vect input=forests output=forests type=area
86 d.mon wx0
87 d.rast forests_padsd_mov7
88 d.vect forests type=boundary
89
91 r.li - package overview
92 g.gui.rlisetup
93
95 McGarigal, K., and B. J. Marks. 1995. FRAGSTATS: spatial pattern analy‐
96 sis program for quantifying landscape structure. USDA For. Serv. Gen.
97 Tech. Rep. PNW-351. (PDF)
98
100 Michael Shapiro - CERL (patch identification)
101 Markus Metz (statistics)
102
104 Available at: r.li.padsd source code (history)
105
106 Accessed: Saturday Jan 21 21:14:55 2023
107
108 Main index | Raster index | Topics index | Keywords index | Graphical
109 index | Full index
110
111 © 2003-2023 GRASS Development Team, GRASS GIS 8.2.1 Reference Manual
112
113
114
115GRASS 8.2.1 r.li.padsd(1)