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

NAME

6       r.resamp.interp  - Resamples raster map layers using interpolation.
7

KEYWORDS

9       raster, resample
10

SYNOPSIS

12       r.resamp.interp
13       r.resamp.interp help
14       r.resamp.interp input=name output=name  [method=string]   [--overwrite]
15       [--verbose]  [--quiet]
16
17   Flags:
18       --overwrite
19           Allow output files to overwrite existing files
20
21       --verbose
22           Verbose module output
23
24       --quiet
25           Quiet module output
26
27   Parameters:
28       input=name
29           Name of input raster map
30
31       output=name
32           Name for output raster map
33
34       method=string
35           Interpolation method
36           Options: nearest,bilinear,bicubic
37           Default: bilinear
38

DESCRIPTION

40       r.resamp.interp resamples an input raster map by interpolating  between
41       the  neighboring cells via a selectable resampling algorithm. All cells
42       present in the neighborhood of the input raster cell must  be  non-null
43       to generate a non-null cell in the output raster map. A choice of three
44       interpolation methods is available; each uses the weighted values of  a
45       different  number  of  adjacent cells in the input map to determine the
46       value of each cell in the output map as follows:
47
48                     nearest neighbour (1 cell)
49
50                     bilinear (4 cells)
51
52                     bicubic (16 cells)
53       This module is intended for reinterpolation of  continuous  data  to  a
54       different  resolution rather than for interpolation from scattered data
55       (use the v.surf.* modules for that purpose).
56
57       Note that for bilinear and bicubic interpolation, cells of  the  output
58       raster  that  cannot be bounded by the appropriate number of input cell
59       centers are set to NULL (NULL propagation). This could occur due to the
60       input cells being outside the current region, being NULL or MASKed.
61

NOTES

63       For  longitude-latitude databases, the interpolation algorithm is based
64       on degree fractions, not on the absolute distances  between  cell  cen‐
65       ters.   Any attempt to implement the latter would violate the integrity
66       of the interpolation method.
67

SEE ALSO

69       g.region, r.resample, r.resamp.rst r.resamp.stats
70

AUTHOR

72       Glynn Clements
73
74       Last changed: $Date: 2008-03-26 14:52:37 +0100 (Wed, 26 Mar 2008) $
75
76       Full index
77
78       © 2003-2008 GRASS Development Team
79
80
81
82GRASS 6.3.0                                                 r.resamp.interp(1)
Impressum