GRASS logo

NAME

r.pi

Table of contents

DESCRIPTION

r.pi (raster patch index) provides various functions to analyse spatial attributes of a landscape. It has a focus on patch-based indices but delivers class-based indices as well. r.le and its successor r.li provide landscape indices.

A list with a short description of the r.pi modules can be found below. More in depth description of a certain module (commands, flags, options) can be found in the respective folder (like r.pi.graph). The functions/algorithms of the modules are not yet very extensive but will be expanded in the future. Please submit any bug/feature you might encounter to improve the functionality.

The program will interactively query the user for input, output and options (GUI). However the module can be also run from the terminal prompt (CLI) and might be implemented in e.g. a bash-script.

It is highly recommended to read the help pages or e.g the overview documents of Fragstats to get a better impression of problems, possibilities and caveats.

OVERVIEW

General and Connectivity Indices

Individual-based dispersal models

Patch-Relevance

Neutral Landscape Model

Various modules

EXAMPLES

Calculation of the SHAPE-Index

Input can be generated by r.pi.nlm, for example:
# generate random landscape with 50% cover
r.pi.nlm output=NLM_in landcover=50 sharpness=0.5

# use the class 1 of the above generated landscape for computation of SHAPE-Index
r.pi.index input=NLM_in keyval=1 output=NLM_in.shape method=shape

Calculation of the distance to the first and 10th Nearest Neighbor

Input generated by r.pi.nlm, for example:
# generate random landscape with 50% cover
r.pi.nlm output=NLM_in landcover=50 sharpness=0.5

# first NN
r.pi.index input=NLM_in keyval=1 output=NLM_in.enn1 method=ENN

# 10th NN
r.pi.enn input=NLM_in output=NLM_in.enn10 method=distance number=10

# 1-10th NN
r.pi.enn input=NLM_in output=NLM_in.enn10 method=distance number=1-10

NOTE

The maximum number of patches that can be queried at one time depend on the module and might also be influenced by the resolution.

SEE ALSO

r.pi.corr.mw, r.pi.energy, r.energy.pr, r.pi.enn, r.pi.enn.pr, r.pi.neigh, r.pi.fnn, r.pi.nlm.circ, r.pi.nlm, r.nlm.stats, r.pi.corearea, r.pi.csr.mw, r.pi.export, r.pi.graph, r.pi.graph.dec, r.pi.graph.pr, r.pi.graph.red, r.pi.grow, r.pi.import, r.pi.index, r.pi.lm, r.pi.odc, r.pi.prob.mw, r.pi.rectangle, r.pi.searchtime, r.pi.searchtime.pr, r.pi.searchtime.mw

r.le, r.li

REFERENCE

Disclaimer

This software is released under the GPL license, hence also the limitation of liability. This software was designed for a certain project and its research questions. Its nomenclature might not be concordant with other software packages. Moreover its capabilities are yet limited and can not be compared to such of e.g. Fragstats, however every user is invited to extend, modify or fix the functionality of r.pi as long as the new code comply with the GPL.

AUTHORS

Programming: Elshad Shirinov
Scientific concept: 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: 2018-02-15 18:54:16 +0100 (Thu, 15 Feb 2018) $

SOURCE CODE

Available at: r.pi source code (history)


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

© 2003-2019 GRASS Development Team, GRASS GIS 7.4.5svn Reference Manual