<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div>Dear list,</div><div><br></div><div>We have been developing a python application called LSMetrics to calculate landscape metrics for environmental management and ecological research. All functions/metrics use GRASS modules in the process of calculation. More information here:</div><div><a href="https://github.com/LEEClab/LS_METRICS/wiki">https://github.com/LEEClab/LS_METRICS/wiki</a><br></div><div><br></div><div>Basically we have several python functions, each of which calculates a different metric. All of them are then called by a single function that can coordinate the calculation of several metrics for several maps in a row.</div><div>Currently the metrics can be calculated for input maps using a grafical interface (we call it from the GRASS shell using "python LS_metrics_v1_0_0.py") or by calling python shell from the GRASS shell and then using python scripting to call the functions (importing functions and then calling them directly). We wish to transform these function into one (or more than one) grass addon.</div><div><br></div><div>Then I have two questions:</div><div>- Do you think it would be better to build a single addon (e.g. called r.ls.metrics) so that each metrics is defined by a parameter (e.g. method = "patch_size", "fragment_size", "structural connectivity" ...), or rather a set of addons, each one corresponding to a single landscape metrics (e.g. r.ls.patch_size, r.ls.fragment_size, ...)?</div><div><br></div><div>- Also, I have looked on how to build the addon in GRASS help pages but I am not sure about some details. Can you send me some references to ease that process?</div><div><br></div><div>Thanks a lot. </div><div>Below you can find more information regarding the metrics.</div><div>Best</div><div>Bernardo Niebuhr</div><div><br></div><div>_____</div><div><br></div><div>Metrics calculated:</div><div>Metrics related to structural connectivity:</div><div>- patch size</div><div>- fragment size (excludes corridors with a given edge depth)</div><div>- structural connectivity</div><div>- proportion of habitat (within a window around each pixel)</div><div>Metrics related to functional connectivity</div><div>- functionally connected area (considering the capacity of organisms to cross gaps between habitat patches)</div><div>- functional connectivity</div><div>Metrics related to habitat edges</div><div>- distance from edges</div><div>- clasisfication edge/core/matrix (considering a given edge depth)</div><div>- proportion of edge and core (within a window around each pixel)</div><div>Metrics of landscape diversity</div><div>(we are currently using the r.diversity add on to calculate that)</div><div><br></div><div><br></div></div></body></html>