[GRASS-user] Gauss filter in r.neighbors

Glynn Clements glynn at gclements.plus.com
Wed Oct 8 01:56:53 PDT 2014


Martin Album Ytre-Eide wrote:

> (maybe there is a problem in r.neighbors for grass 6.4.4?)

Yes:

Markus Metz wrote:

> There is no problem with the Gaussian filter, but a problem with the
> output map type of r.neighbours in G64: the output type is in G64 the
> same like the input type, whereas in G7 the output type depends on the
> chosen function. That means, if you use r.neighbours method=average in
> G64 with a CELL map, the output is also CELL.

If you need it to work with 6.x, convert the input to FCELL/DCELL
first (with e.g. r.mapcalc "output = float(input)").

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list