r.buffer.lowmem.html 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <h2>DESCRIPTION</h2>
  2. <em>r.buffer.lowmem</em> creates a new raster map showing buffer
  3. (a.k.a. "distance" or "proximity") zones around all cells that contain
  4. non-NULL category values in an existing raster map. The distances of
  5. buffer zones from cells with non-zero category values are user-chosen.
  6. <p>
  7. This is the low-memory alternative to the
  8. classic <em><a href="r.buffer.html">r.buffer</a></em> module. It is
  9. much slower than the classic version, but will run on massive raster
  10. maps without using a lot of RAM. If your raster map is larger than
  11. 32000x32000 cells on a system with 1 GB of RAM, or larger than
  12. 90000x90000 cells on a system with 8 GB of RAM, consider using this
  13. module.
  14. <p>
  15. For more info see manual of <em><a href="r.buffer.html">r.buffer</a></em>.
  16. <h2>EXAMPLE</h2>
  17. In the following example, the buffer zones would be (in the default units
  18. of meters): 0-100, 101-200, 201-300, 301-400 and 401-500.
  19. <div class="code"><pre>
  20. r.buffer.lowmem input=roads output=roads.buf distances=100,200,300,400,500
  21. </pre></div>
  22. Result:
  23. <div class="code"><pre>
  24. r.category input=roads.buf
  25. 1 distances calculated from these locations
  26. 2 0-100 meters
  27. 3 100-200 meters
  28. 4 200-300 meters
  29. 5 300-400 meters
  30. 6 400-500 meters
  31. </pre></div>
  32. <h2>SEE ALSO</h2>
  33. <em>
  34. <a href="g.region.html">g.region</a>,
  35. <a href="r.buffer.html">r.buffer</a>,
  36. <a href="r.cost.html">r.cost</a>,
  37. <a href="r.grow.distance.html">r.grow.distance</a>,
  38. <a href="r.mapcalc.html">r.mapcalc</a>,
  39. <a href="r.reclass.html">r.reclass</a>,
  40. <a href="v.buffer.html">v.buffer</a>
  41. </em>
  42. <h2>AUTHORS</h2>
  43. Michael Shapiro, U.S. Army Construction Engineering
  44. Research Laboratory
  45. <br>
  46. James Westervelt, U.S. Army Construction Engineering
  47. Research Laboratory
  48. <br>
  49. Low-memory Python version by Glynn Clements
  50. <!--
  51. <p>
  52. <i>Last changed: $Date$</i>
  53. -->