[GRASS5] 5.4 release branch

Glynn Clements glynn.clements at virgin.net
Wed Oct 13 14:52:27 EDT 2004


Markus Neteler wrote:

> > > > r.colors new format for rules files (Hamish, Glynn)
> > > 
> > > Is there a possibility to make the parser (a function) list the
> > > available color files? Such as the 5.7 db.* tools list the available DB
> > > drivers?
> > 
> > 
> > I think a -l flag for r.colors is the way to go. (ala 'g.mapsets -l')
> 
> Yes, something like this, which then reports the following list:
> 
> ls $GISBASE/etc/colors
> aspect  bcyr  byg  byr  elevation  evi  grey  gyr  rainbow  ramp  ryg  slope  srtm  terrain  wave
> 
> Not sure how to implement that (I tried but didn't manage).

I've added this.

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




More information about the grass-dev mailing list