r.li.padrange.html 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <h2>DESCRIPTION</h2>
  2. <em>r.li.padrange</em> (patch area distribution range) calculates
  3. as:<br>
  4. <img src="rlipadrange_formula.png" alt="rlipadrange formula"> <br>
  5. with:<br>
  6. <ul>
  7. <li><b>a<small><small>max</small></small></b>: max patch area size</li>
  8. <li><b>a<small><small>min</small></small></b>: min patch area size</li>
  9. </ul>
  10. <h2>NOTES</h2>
  11. Do not use absolute path names for the <b>output</b> map/file.
  12. If the "moving window" method was selected in <b>r.li.setup</b>, then the
  13. output will be a raster map, otherwise an ASCII file will be generated in
  14. the <tt>~/.grass7/r.li/output/</tt> folder.
  15. <p>
  16. <!-- TODO: verify next: -->
  17. If the input raster map contains only NULL values then <em>r.li.padrange</em>
  18. returns -1.<br>
  19. If you want to change these -1 values to NULL, run subsequently on the resulting map:
  20. <div class="code"><pre>
  21. r.null setnull=-1 input=my_map
  22. </pre></div>
  23. after index calculation.
  24. <h2>EXAMPLES</h2>
  25. To calculate range of patch area size index on map <em>my_map</em>, using
  26. <em>my_conf</em> configuration file (previously defined with
  27. <em>r.li.setup</em>) and saving results in <em>my_out</em>, run:
  28. <div class="code"><pre>
  29. r.li.padrange input=my_map conf=my_conf output=my_out
  30. # forest map example:
  31. g.region rast=landcover.30m -p
  32. r.mapcalc "forests = if(landcover.30m >= 41 && landcover.30m <= 43,1,null())"
  33. r.li.padrange input=forests conf=movwindow7 out=forests_padrange_mov7
  34. r.univar forests_padrange_mov7
  35. </pre></div>
  36. <h2>SEE ALSO</h2>
  37. <em>
  38. <a href="r.li.html">r.li</a> - package overview<br>
  39. <a href="r.li.setup.html">r.li.setup</a>
  40. </em>
  41. <h2>REFERENCES</h2>
  42. McGarigal, K., and B. J. Marks. 1995. FRAGSTATS: spatial pattern
  43. analysis program for quantifying landscape structure. USDA For. Serv.
  44. Gen. Tech. Rep. PNW-351. (<a href="http://treesearch.fs.fed.us/pubs/3064">PDF</a>)
  45. <h2>AUTHORS</h2>
  46. Serena Pallecchi student of Computer Science University of Pisa (Italy).<br>
  47. Commission from Faunalia Pontedera (PI), Italy (www.faunalia.it)
  48. <p>
  49. <i>Last changed: $Date$</i></p>