r.li.setup.html 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <h2>DESCRIPTION</h2>
  2. <em>r.li.setup</em> creates and shows configuration files for the
  3. others r.li programs. For a general introduction, see
  4. <a href="r.li.html">r.li</a>.
  5. <br>
  6. The configurations are raster map independent,
  7. it means that you can use a file created on a raster map for analyze any
  8. other you have. <br>
  9. The program is completely interactive and uses a GUI to help you
  10. in your choices.
  11. <h3>Analysis methods</h3>
  12. Definition of region for analysis:
  13. <ul>
  14. <li> Whole maplayer: entire map (current region),
  15. <li> Keyboard setting: based on keyboard selection for region definition,
  16. <li> Draw the sampling frame: based on interactive region selection via mouse.
  17. </ul>
  18. Definition of creation of sampling area:
  19. <ul>
  20. <li> Whole maplayer: use entire area selected above,
  21. <li> Regions: select one to many subareas via mouse,
  22. <li> Sample units: automated selection of sampling area (for details see below)
  23. <ul>
  24. <li> Random nonoverlapping,
  25. <li> Systematic contiguous,
  26. <li> Systematic noncontiguous,
  27. <li> Stratified random,
  28. <li> Centered over sites (vector points).
  29. </ul>
  30. <li> Moving window: rectagular or circular with size
  31. <li> Select areas from the overlayed vector map (for details see below)
  32. </ul>
  33. <img src="sampleAreas.jpg" alt="Sampling area definition">
  34. <h3>Usage details</h3>
  35. The startup window shows your configuration files, you can:
  36. <ol>
  37. <li><em><b>Load a file</b></em>: the configuration is printed using
  38. rectangles with differents colors (green for the raster map,
  39. red for the sample
  40. frame and blue for the sample areas), and other notes (disposition of
  41. sample areas etc).
  42. The configuration file is saved in <tt>~/.grass7/r.li/my_conf</tt>.
  43. <!-- NOT REALLY CLEAR: -->
  44. Configuration output files are raster if moving window disposition was
  45. selected, otherwise they are in ~/.r.li/output folder.
  46. <br>
  47. All dimension are percentage of raster rows or columns.
  48. <li><em><b>Create a new file:</b></em> this create a new configuration
  49. file in an interactive way, in three steps
  50. <ol>
  51. <li> Choose file name and maps to use for setting:
  52. <ul>
  53. <li> <em>Configuration file name </em>(required): the name
  54. of new configuration file
  55. <li> <em>Raster map name</em> (required): the name of raster
  56. map to use for setting
  57. <li> <em>Vector map to overlay</em> (optional): name of a vector
  58. map to overlay in setting
  59. <li> <em>Site file to overlay</em> (optional): name of vector map
  60. of points type to overlay in setting
  61. </ul>
  62. <li> Set the sampling frame. The sample frame is a rectangular area
  63. which contains all the areas to analyze. It can be defined in three
  64. ways:
  65. <ul>
  66. <li><em>Whole map layer</em>: the sample frame is the whole map
  67. <li><em>Keyboard setting</em>: the user enters the coordinates in
  68. cells of upper left corner of sampling frame and its length in
  69. rows and columns
  70. <li><em>Draw the sample frame</em>: the user draws the sample frame
  71. on map using mouse.
  72. </ul>
  73. <li> Set the sample areas. The sample areas are simply the areas to
  74. analyze. They can be defined in five ways (see the picture below):
  75. <ul>
  76. <li><em>Whole map layer</em>: the sample area is the whole sample
  77. frame
  78. <li><em>Regions</em>: the user enters the number of areas and then
  79. draws them using mouse.
  80. <li><em>Sample units</em>: they are areas of rectangular or circular
  81. shape. The user can define them using keyboard or mouse.
  82. <ul>
  83. <li>keyboard: the user define the shape of sample unists and
  84. their disposition:
  85. <ul>
  86. <li><em>Random non overlapping</em>: the user specifies
  87. the number of sample units and they are placed in a
  88. random way at runtime. It is guaranted that the
  89. areas do not intersect themselfs.
  90. <li><em>Systematic contiguous</em>: the defined sample
  91. is placed covering the sample frame, side by side
  92. across rows.
  93. <li><em>Systematic non contiguous</em>: the same as above,
  94. but here ever rectangle is spaced from another by
  95. a specified number of cells
  96. <li><em>Stratified random</em>: the sample frame is
  97. divided in n strats of rows and m strats of columns
  98. (n and m are given by user), then the specified
  99. number of sample areas are placed in a random way,
  100. one for every m*n areas defined by strats.
  101. <li><em>Centered over sites</em>: the sample areas
  102. are placed into sample frame centering them on points
  103. in site file.
  104. </ul>
  105. <li>mouse: the user chooses the shape and then draws the
  106. specified number of sample areas on map.
  107. </ul>
  108. </ul>
  109. <li><em>Moving Window:</em> the user defines a rectangular or
  110. circular area, it is moved over all the raster increasing only
  111. of a cell for every move(in columns if possible, if not in rows).
  112. It produces a new raster containing the result of all analysis.
  113. <li><em>Select areas from the overlayed vector map</em>:
  114. the sample areas are defined by the vector map selected above.
  115. For every cat in vector map, the procedure prompts the
  116. user if he wants to include it as sample area.
  117. The resulting configuration file can be used only with the
  118. specified raster map, and the procedure can be used only if
  119. whole map layer is selected as sampling frame.
  120. </ol>
  121. <li><em><b>Remove a file</b></em> the selected file is deleted from the
  122. available configuration files.
  123. <li><em><b>Help</b></em>: open this help text.
  124. <li><em><b>Close</b></em> module window.
  125. </ol>
  126. <h2>NOTES</h2>
  127. Configuration files are raster map independent because areas are saved using
  128. relative coordinates.
  129. <h2>SEE ALSO</h2>
  130. <em><a href="http://grass.osgeo.org/gdp/landscape/r_le_manual5.pdf">
  131. old r.le manual</A></em><br>
  132. <em><a href="r.li.html">r.li</A></em> package overview <br>
  133. <em><a href="r.li.daemon.html">r.li.daemon</A></em>,
  134. <em><a href="r.li.patchdensity.html">r.li.patchdensity</A></em>
  135. <h2>AUTHORS</h2>
  136. Claudio Porta and Lucio Davide Spano, students of Computer Science
  137. University of Pisa (Italy).<br>
  138. Commission from Faunalia Pontedera (PI)<br>
  139. Rebuild of r.le.setup from William L. Baker
  140. <p>
  141. <i>Last changed: $Date$</i>