Re: [GRASS-user] 2 r.neighbors questions

2009-10-29 Thread Glynn Clements
Hermann Peifer wrote: I started using r.neighbors and came across the following issues: I have a CELL type input raster and calculate weighted sums. The weights are float, so the calculation result should be float, but r.neighbors output raster is again CELL type with truncated integers.

Re: [GRASS-user] 2 r.neighbors questions

2009-10-29 Thread Hermann Peifer
Glynn, Thanks for the confirmation about how to get to rounded weighted sums. As far as I can see: r.resamp.stats (which, in a way, also generates neighborhood statistics) simply produces DCELL output rasters, no matter what the input cell type or aggregation method is. At least the sum of

[GRASS-user] 2 r.neighbors questions

2009-10-28 Thread Hermann Peifer
Hi, I started using r.neighbors and came across the following issues: I have a CELL type input raster and calculate weighted sums. The weights are float, so the calculation result should be float, but r.neighbors output raster is again CELL type with truncated integers. How do I get to