r.resamp.interp

Langue: en

Autres versions - même langue

Version: 371101 (fedora - 01/12/10)

Section: 1 (Commandes utilisateur)

NAME

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

KEYWORDS

raster, resample

SYNOPSIS

r.resamp.interp
r.resamp.interp help
r.resamp.interp input=name output=name [method=string] [--overwrite] [--verbose] [--quiet]

Flags:

--overwrite

Allow output files to overwrite existing files
--verbose

Verbose module output
--quiet

Quiet module output

Parameters:

input=name

Name of input raster map
output=name

Name for output raster map
method=string

Interpolation method
Options: nearest,bilinear,bicubic
Default: bilinear

DESCRIPTION

r.resamp.interp resamples an input raster map by interpolating between the neighboring cells via a selectable resampling algorithm. All cells present in the neighborhood of the input raster cell must be non-null to generate a non-null cell in the output raster map. A choice of three interpolation methods is available; each uses the weighted values of a different number of adjacent cells in the input map to determine the value of each cell in the output map as follows:
nearest neighbour (1 cell)
bilinear (4 cells)
bicubic (16 cells)
This module is intended for reinterpolation of continuous data to a different resolution rather than for interpolation from scattered data (use the v.surf.* modules for that purpose).

Note that for bilinear and bicubic interpolation, cells of the output raster that cannot be bounded by the appropriate number of input cell centers are set to NULL (NULL propagation). This could occur due to the input cells being outside the current region, being NULL or MASKed.

NOTES

For longitude-latitude databases, the interpolation algorithm is based on degree fractions, not on the absolute distances between cell centers. Any attempt to implement the latter would violate the integrity of the interpolation method.

SEE ALSO

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

AUTHOR

Glynn Clements

Last changed: $Date: 2008-03-26 14:52:37 +0100 (Wed, 26 Mar 2008) $

Full index

© 2003-2008 GRASS Development Team