[GRASS5] 5.4 release branch
Markus Neteler
neteler at itc.it
Thu Oct 14 03:45:11 EDT 2004
On Wed, Oct 13, 2004 at 07:52:27PM +0100, Glynn Clements wrote:
>
> 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.
Great - thank you very much.
Markus
More information about the grass-dev
mailing list