r.resample.html 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 reinterpolation of continuous data
  11. to a different resolution rather than for interpolation from scattered data
  12. (use the <em>v.surf.*</em> modules for that purpose).
  13. <h2>NOTES</h2>
  14. The method by which resampling is conducted is "nearest neighbor"
  15. (see <em><a href="r.neighbors.html">r.neighbors</a></em>).
  16. The resulting raster map layer will have the same
  17. resolution as the resolution of the current geographic region
  18. (set using <em><a href="g.region.html">g.region</a></em>).
  19. <p>The resulting raster map layer may be identical to the original raster
  20. map layer. The <em>r.resample</em> program will copy the color table
  21. and history file associated with the original raster map
  22. layer for the resulting raster map layer and will create a modified
  23. category file which contains description of only those categories
  24. which appear in resampled file.
  25. <p>
  26. When the user resamples a GRASS <em>reclass</em> file, a true raster map
  27. is created by <em>r.resample</em>.
  28. <h2>SEE ALSO</h2>
  29. <em><a href="g.region.html">g.region</a></em>,
  30. <em><a href="r.mapcalc.html">r.mapcalc</a></em>,
  31. <em><a href="r.mfilter.html">r.mfilter</a></em>,
  32. <em><a href="r.neighbors.html">r.neighbors</a></em>,
  33. <em><a href="r.rescale.html">r.rescale</a></em>
  34. <h2>AUTHOR</h2>
  35. Michael Shapiro,
  36. U.S.Army Construction Engineering Research Laboratory
  37. <p><i>Last changed: $Date$</i>