[GRASS5] r.univar and MASK

Glynn Clements glynn.clements at virgin.net
Mon Apr 19 08:10:32 EDT 2004


Markus Neteler wrote:

> > > > Everything in the r.univar script is implemented except for the
> > > > extended stats (but some framework is in place for someone to
> > > > continue that) and the base= map option (just use a MASK). Only
> > > > minor modification of dependant scripts is needed (but definitely
> > > > some).
> > > 
> > > AFAICT, there is no mask function implemented for GRASS 5.7 yet. If 
> > > I've missed it, please let me know. Thanks.
> > 
> > 
> > It's there, it works.
> > 
> > There's no r.mask module though (couldn't tell you why). Just use
> > r.mapcalc or g.copy to make a raster map called MASK.
> 
> Up to now only raster modules with cmd/ part have been
> included into 5.7. That's why r.support and r.mask are missing.

There is a "cmd" r.support program, but it only has minimal
functionality.

I'm not sure that it makes sense to have all of the features of
r.support (or similar multi-purpose programs) in a single command-line
program. The last time that I looked at this (regarding setting the
boundaries), I wrote a separate r.region program instead.

Also, some of the functionality of r.support is inherently
interactive, e.g. editing the history or category labels.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list