[GRASS-dev] Fixing r.li

Glynn Clements glynn at gclements.plus.com
Tue Feb 9 00:31:42 EST 2010


Markus Neteler wrote:

> >> Is anyone familiar with r.li?
> >>
> >> How easy would it be to get rid of the (Unix-specific) client-server
> >> framework so that the various r.li.* modules are just normal modules?
> >
> > I've done this, but I can't test that it still works as I don't have
> > any idea how to use it.
> >
> > Also, r.li.setup is currently disabled (due to requiring Tcl/Tk) and
> > there doesn't appear to be any documention on creating a configuration
> > file without it.
> 
> Sorry for the delay. Attached a config file:
> $HOME/.grass7/r.li/landclass96_conf
> 
> Usage (North Carolina data set [1]):
> g.region rast=landclass96
> r.li.shannon map=landclass96 at PERMANENT conf=landclass96_conf output=landclass96_shannon --o

Okay; it seems to work. I don't know what the output should actually
look like, but it doesn't crash or produce obviously bad data, and I
can't see any way that the changes could have "subtle" consequences.

r.li.setup still needs to replaced.

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


More information about the grass-dev mailing list