1r.resample(1)                 Grass User's Manual                r.resample(1)
2
3
4

NAME

6       r.resample  - GRASS raster map layer data resampling capability.
7

KEYWORDS

9       raster
10

SYNOPSIS

12       r.resample
13       r.resample help
14       r.resample [-q] input=string output=string  [--overwrite]
15
16   Flags:
17       -q  Quiet
18
19       --overwrite
20
21   Parameters:
22       input=string
23           Name of an input layer
24
25       output=string
26           Name of an output layer
27

DESCRIPTION

29       r.resample  resamples  the data values in a user-specified raster input
30       map layer name (bounded by the current geographic region and masked  by
31       the current mask), and produces a new raster output map layer name con‐
32       taining the results of the resampling.  The category values in the  new
33       raster  output  map  layer  will  be the same as those in the original,
34       except that the resolution and extent of  the  new  raster  output  map
35       layer  will  match those of the current geographic region settings (see
36       g.region).
37

NOTES

39       The method by which resampling is conducted is "nearest neighbor"  (see
40       r.neighbors).   The resulting raster map layer will have the same reso‐
41       lution as the resolution of the current geographic  region  (set  using
42       g.region).
43
44       The  resulting raster map layer may be identical to the original raster
45       map layer.  The r.resample program will copy the color table  and  his‐
46       tory file associated with the original raster map layer for the result‐
47       ing raster map layer and will create a  modified  category  file  which
48       contains description of only those categories which appear in resampled
49       file.
50
51       When the user resamples a GRASS reclass file, a  true  raster  file  is
52       created by r.resample.
53

SEE ALSO

55       g.region, r.mapcalc, r.mfilter, r.neighbors, r.rescale
56

AUTHOR

58       Michael Shapiro, U.S.Army Construction Engineering Research Laboratory
59
60       Last changed: $Date: 2006/04/13 19:01:37 $
61
62       Full index
63
64
65
66GRASS 6.2.2                                                      r.resample(1)
Impressum