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]  [--verbose]
15       [--quiet]
16
17   Flags:
18       -q
19           Quiet
20
21       --overwrite
22           Allow output files to overwrite existing files
23
24       --verbose
25           Verbose module output
26
27       --quiet
28           Quiet module output
29
30   Parameters:
31       input=string
32           Name of an input layer
33
34       output=string
35           Name of an output layer
36

DESCRIPTION

38       r.resample resamples the data values in a user-specified  raster  input
39       map  layer name (bounded by the current geographic region and masked by
40       the current mask), and produces a new raster output map layer name con‐
41       taining  the results of the resampling.  The category values in the new
42       raster output map layer will be the same  as  those  in  the  original,
43       except  that  the  resolution  and  extent of the new raster output map
44       layer will match those of the current geographic region  settings  (see
45       g.region).
46

NOTES

48       The  method by which resampling is conducted is "nearest neighbor" (see
49       r.neighbors).  The resulting raster map layer will have the same  reso‐
50       lution  as  the  resolution of the current geographic region (set using
51       g.region).
52
53       The resulting raster map layer may be identical to the original  raster
54       map  layer.   The r.resample program will copy the color table and his‐
55       tory file associated with the original raster map layer for the result‐
56       ing  raster  map  layer  and will create a modified category file which
57       contains description of only those categories which appear in resampled
58       file.
59
60       When the user resamples a GRASS reclass file, a true raster map is cre‐
61       ated by r.resample.
62

SEE ALSO

64       g.region, r.mapcalc, r.mfilter, r.neighbors, r.rescale
65

AUTHOR

67       Michael Shapiro, U.S.Army Construction Engineering Research Laboratory
68
69       Last changed: $Date: 2006-12-13 15:21:43 +0100 (Wed, 13 Dec 2006) $
70
71       Full index
72
73       © 2003-2008 GRASS Development Team
74
75
76
77GRASS 6.3.0                                                      r.resample(1)
Impressum