r.resample.html 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <h2>DESCRIPTION</h2>
  2. <em>r.resample</em> resamples the data values in a user-specified raster
  3. input map layer <em>name</em> (bounded by the current geographic region
  4. and masked by the current mask), and produces a new raster output map layer
  5. <em>name</em> containing the results of the resampling.
  6. The category values in the new raster output map layer will be the same
  7. as those in the original, except that the resolution and extent of the
  8. new raster output map layer will match those of the current geographic region
  9. settings (see <em><a href="g.region.html">g.region</a></em>).
  10. <em>r.resample</em> is intended for resampling of discrete raster data
  11. (such as land cover, geology or soil type) to a different resolution.
  12. Continuous data (such as elevation or temperature) usually require reinterpolation
  13. when changing resolution, see <em><a href="r.resamp.interp.html">r.resamp.interp</a></em>.
  14. <h2>NOTES</h2>
  15. The method by which resampling is conducted is "nearest neighbor"
  16. (see <em><a href="r.neighbors.html">r.neighbors</a></em>).
  17. The resulting raster map layer will have the same
  18. resolution as the resolution of the current geographic region
  19. (set using <em><a href="g.region.html">g.region</a></em>).
  20. <p>The resulting raster map layer may be identical to the original raster
  21. map layer. The <em>r.resample</em> program will copy the color table
  22. and history file associated with the original raster map
  23. layer for the resulting raster map layer and will create a modified
  24. category file which contains description of only those categories
  25. which appear in resampled file.
  26. <p>
  27. When the user resamples a GRASS <em>reclass</em> file, a true raster map
  28. is created by <em>r.resample</em>.
  29. <h2>SEE ALSO</h2>
  30. <em>
  31. <a href="g.region.html">g.region</a>,
  32. <a href="r.mapcalc.html">r.mapcalc</a>,
  33. <a href="r.mfilter.html">r.mfilter</a>,
  34. <a href="r.neighbors.html">r.neighbors</a>,
  35. <a href="r.rescale.html">r.rescale</a>,
  36. <a href="r.resamp.interp.html">r.resamp.interp</a>
  37. </em>
  38. <p>
  39. Overview: <a href="https://grasswiki.osgeo.org/wiki/Interpolation">Interpolation and Resampling</a> in GRASS GIS
  40. <h2>AUTHOR</h2>
  41. Michael Shapiro,
  42. U.S.Army Construction Engineering Research Laboratory
  43. <p><i>Last changed: $Date$</i>