Re[GRASS-user] sampling categorical data with r.resamp.stats

Glynn Clements glynn at gclements.plus.com
Fri Sep 19 06:42:45 EDT 2008


Jana K. wrote:

> I want to resample my categorical raster data from higher resolution to
> lower, using mode method. Looking at the syntax, I can't figure out where I
> tell the command the new resolution. I am confused, as I had expected that
> the command would be implemented at the location with crude resolution using
> the data from the location with higher resolution as an input, similar as
> r.proj, where you specify the input data name, location and mapset. 
> Could someone tell me how I tell r.resamp.stats the new - crude resolution? 

Use g.region.

Resampling modules (r.resample, r.resamp.stats, r.resamp.interp,
r.resamp.rst) resample the map to match the current region.

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


More information about the grass-user mailing list