[GRASS-dev] r.resamp.stats method=sum artifacts

Markus Neteler neteler at itc.it
Thu Nov 2 05:15:01 EST 2006


Glynn Clements wrote on 11/02/2006 05:26 AM:
> Hamish wrote:
>
>   
>> I've added r.resamp.stats and r.resamp.interp to the GUI menus.
>> (Raster->Devel)
>>
>> should r.resample be tagged for future removal? (same result as with:
>> 'r.resamp.interp method=nearest' ???).
>>     
>
> No.
>
> r.resample uses libgis' built-in resampling, so it is guaranteed to
> resample in an identical manner to other commands.
>
> "r.resamp.interp method=nearest" performs the resampling itself, so it
> could produce slightly different results due to rounding errors. The
> method=nearest option was only included for completeness; if you want
> nearest-neighbour resampling, r.resample is preferred.
>   
Honestly, this sounds confusing to me. Having NN method twice which produces
slightly different results, is hard to explain to users.

Markus




More information about the grass-dev mailing list