r.reclass.area.html 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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 <em>-c</em> flag is used, <em>r.reclass.area</em> will skip the creation
  6. of a clumped raster and assume that the input raster is already clumped.
  7. <h2>EXAMPLES</h2>
  8. In this example, the ZIP code map in the North Carolina sample dataset location
  9. is filtered for large areas (removing smaller areas from the map):
  10. <div class="code"><pre>
  11. g.region raster=zipcodes -p
  12. r.report zipcodes unit=h
  13. # extract only areas greater than 2000 ha, NULL otherwise:
  14. r.reclass.area input=zipcodes output=zipcodes_larger2000ha \
  15. mode=greater value=2000
  16. r.report zipcodes_larger2000ha unit=h
  17. </pre></div>
  18. In this example, the ZIP code map in the North Carolina sample dataset location
  19. is filtered for smaller areas which are substituted with the value of the respective
  20. adjacent area with largest shared boundary:
  21. <div class="code"><pre>
  22. # reclass by substitutional removing of areas minor of 1000 ha
  23. r.reclass.area input=zipcodes output=zipcodes_minor1000ha \
  24. mode=lesser value=1000 method=rmarea
  25. </pre></div>
  26. <h2>SEE ALSO</h2>
  27. <em>
  28. <a href="r.reclass.html">r.reclass</a>,
  29. <a href="r.clump.html">r.clump</a>,
  30. <a href="r.stats.html">r.stats</a>
  31. </em>
  32. <h2>AUTHORS</h2>
  33. NRCS,<br>
  34. Markus Neteler
  35. <p><i>Last changed: $Date$</i>