[GRASS-dev] r.colors: rules file list unsorted

Markus Neteler neteler at itc.it
Sun Jan 28 15:11:18 EST 2007


Hi Daniel,

that's true. But it would be cool to have the same effect
in 
r.colors help

in particular, because the tcl GUI depends in that (and
XML and HTML output). Currently the order there can be wrong,
too.

Markus

On Sun, Jan 28, 2007 at 03:03:29PM -0500, Daniel Calvelo wrote:
> Hi Markus,
> 
> You mean sorting by name in the rules file listing when using help,
> don't you? r.colors -l should give a sorted list.
> 
> Daniel.
> 
> On 1/28/07, Markus Neteler <neteler at itc.it> wrote:
> >Hi,
> >
> >may I kindly ask to get add a qsort() function to the
> >rules_files() function in main.c of r.colors? Not sure
> >how to do that.
> >
> >Currently the rules files are sorted by file time stamp
> >(I am testing some new rules here):
> >
> >r.colors help
> >...
> >  rules   Name of predefined rules file
> >          options: aspect,bcyr,byg,byr,elevation,evi,etopo2,grey,gyr,ndvi,
> >                   population,rainbow,ramp,ryg,slope,srtm,terrain,wave,ryb,
> >                   aspectcolr,curvature,differences
> >
> >thanks,
> >Markus
> >
> >_______________________________________________
> >grass-dev mailing list
> >grass-dev at grass.itc.it
> >http://grass.itc.it/mailman/listinfo/grass-dev
> >
> 
> 
> -- 
> -- Daniel Calvelo Aros
> 
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev




More information about the grass-dev mailing list