[GRASSLIST:3581] Re: How to resample and get a max value?

Terry Duell tduell at planet.net.au
Wed Apr 24 18:53:50 EDT 2002


"Eric G. Miller" wrote:
> 
> On Wed, Apr 24, 2002 at 03:51:03PM +1000, Terry Duell wrote:
> > Hullo,
> > I have an interesting problem which one of you more experienced GRASS
> > users may have the answer to.
> > I want to resample a raster map to a lower resolution (eg 100m down to
> > 1000m), but in doing so I want to use the max value in the 100m raster
> > within the boundaries of each 1000m cell.
> > I have a suspicion that r.mapcalc might be the only way...but the 'how
> 
> Maybe r.neighbors is what you're after?
 Ah. Indeed, it does look like it might do the trick. The man page does
seem to frown upon generating a raster which doesn't have the same
resolution as the input. I guess I'll have to try and see.

Thanks for your help.

Regards,
Terry Duell



More information about the grass-user mailing list