[GRASS-user] Re: r.resamp.stats max method not working as expected

Jamie Adams jaadfoo at gmail.com
Tue Oct 14 02:25:02 EDT 2008


Okay, I did find verification that this doesn't work in r.resamp.stats:

*[1] The min and max aggregates can't use weights, so -w has no effect for
those.*

>From http://grass.osgeo.org/wiki/GRASS_raster_semantics - a good read for
anyone working with raster data.

-Jamie

On Mon, Oct 13, 2008 at 12:54 PM, Jamie Adams <jaadfoo at gmail.com> wrote:

> Hello all,
>
> When I use r.resamp.stats to resample a grid of 0s & 1s using the maximum
> option and the -w flag, it doesn't seem to consider the "edge" pixels that
> overlap.  It returns the same result as without the -w flag.  I've gotten
> around this by using the default method and setting anything > 0 to 1.
>
> Any reason for this behavior, other than being a bug?
>
> -Jamie
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20081013/e0fecdfa/attachment.html


More information about the grass-user mailing list