.TH r.li.edgedensity 1grass "" "GRASS 6.4.2" "Grass User's Manual" .SH NAME \fI\fBr.li.edgedensity\fR\fR - Calculates edge density index on a raster map, using a 4 neighbour algorithm .SH KEYWORDS raster, landscape structure analysis, patch index .SH SYNOPSIS \fBr.li.edgedensity\fR .br \fBr.li.edgedensity help\fR .br \fBr.li.edgedensity map\fR=\fIname\fR \fBconf\fR=\fIstring\fR \fBoutput\fR=\fIname\fR [\fBpatch_type\fR=\fIstring\fR] [--\fBoverwrite\fR] [--\fBverbose\fR] [--\fBquiet\fR] .SS Flags: .IP "\fB--overwrite\fR" 4m .br Allow output files to overwrite existing files .IP "\fB--verbose\fR" 4m .br Verbose module output .IP "\fB--quiet\fR" 4m .br Quiet module output .PP .SS Parameters: .IP "\fBmap\fR=\fIname\fR" 4m .br Name of input raster map .IP "\fBconf\fR=\fIstring\fR" 4m .br Configuration file .IP "\fBoutput\fR=\fIname\fR" 4m .br Name for output raster map .IP "\fBpatch_type\fR=\fIstring\fR" 4m .br The value of the patch type, it can be integer, double or float; it will be changed in function of map type .PP .SH DESCRIPTION \fIr.li.edgedensity \fRcalculates: .br .br .RS .IP the density of all the edge of patch i .br .br or .br .IP the density of all the edge in the sampling area if i isn't specified .br .br .RE .PP with: .RS .IP \fBk\fR: patch type .br .IP \fBm\fR: number of patch type .br .IP \fBn\fR: number of edge segment of patch type k .IP \fBeik \fR:total length of edge in landscape involving patch type k .IP \fBArea\fR: total landscape area .br .RE .SH NOTES Do not use absolute path names for output files. They are raster if moving window disposition was selected, otherwise they are in ~/.r.li/output folder. .br If input raster is full of null values r.li.edgedensity consider to have 0 patch. .br If area is 0 r.li.edgedensity returns -1; this is possible only if input raster is masked. If you want to have null values instead run .br \fC .DS .br r.null setnull=-1 map=my_map .br .DE \fR after index calculation. .SH EXAMPLES To calculate edge density index on map my_map, using my_conf configuration file and saving results in my_out file run: .br \fC .DS .br r.li.edgedensity map=my_map conf=my_conf output=my_out .br .DE \fR To calculate edge density index of patch_type 34, using my_conf configuration file and on map my_map, saving results in my_out file run: .br \fC .DS .br r.li.edgedensity map=my_map conf=my_conf output=my_out patch_type=34 .br .DE \fR .SH SEE ALSO \fI r.li \fR .SH REFERENCES McGarigal, K., and B. J. Marks. 1995. FRAGSTATS: spatial pattern analysis program for quantifying landscape structure. USDA For. Serv. Gen. Tech. Rep. PNW-351. .SH AUTHORS Serena Pallecchi student of Computer Science University of Pisa (Italy). .br Commission from Faunalia Pontedera (PI), Italy (www.faunalia.it) .PP \fILast changed: $Date: 2011-08-16 11:13:05 +0200 (Tue, 16 Aug 2011) $\fR .PP Full index .PP © 2003-2011 GRASS Development Team