r.reclass.area.html 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <h2>DESCRIPTION</h2>
  2. <em>r.reclass.area</em> reclasses a raster map greater or
  3. less than a user specified area size (in hectares).
  4. <p>
  5. If the <b>-c</b> flag is used, <em>r.reclass.area</em> will skip the
  6. creation of a clumped raster and assume that the input raster is
  7. already clumped.
  8. <h2>EXAMPLES</h2>
  9. In this example, the ZIP code map in the North Carolina sample dataset
  10. location is filtered for large areas (removing smaller areas from the
  11. map).
  12. <div class="code"><pre>
  13. g.region raster=zipcodes -p
  14. r.report zipcodes unit=h
  15. </pre></div>
  16. Extract only areas greater than 2000 ha, NULL otherwise:
  17. <div class="code"><pre>
  18. r.reclass.area input=zipcodes output=zipcodes_larger2000ha mode=greater value=2000
  19. r.report zipcodes_larger2000ha unit=h
  20. </pre></div>
  21. <div align="center" style="margin: 10px">
  22. <img src="zipcodes_larger2000ha.png" width="800px" height="264px"><br>
  23. <i>Figure: r.reclass.area method=reclass</i>
  24. </div>
  25. In this example, the ZIP code map in the North Carolina sample dataset
  26. location is filtered for smaller areas which are substituted with the
  27. value of the respective adjacent area with largest shared
  28. boundary. Reclass by substitutional removing of areas minor of 1000 ha:
  29. <div class="code"><pre>
  30. r.reclass.area input=zipcodes output=zipcodes_minor1000ha mode=lesser value=1000 method=rmarea
  31. </pre></div>
  32. <div align="center" style="margin: 10px">
  33. <img src="zipcodes_minor1000ha.png" width="800px" height="264px"><br>
  34. <i>Figure: r.reclass.area method=rmarea</i>
  35. </div>
  36. <h2>SEE ALSO</h2>
  37. <em>
  38. <a href="r.reclass.html">r.reclass</a>,
  39. <a href="r.clump.html">r.clump</a>,
  40. <a href="r.stats.html">r.stats</a>
  41. </em>
  42. <h2>AUTHORS</h2>
  43. NRCS,<br>
  44. Markus Neteler
  45. <!--
  46. <p>
  47. <i>Last changed: $Date$</i>
  48. -->