<bg> is not a valid parameter
Malcolm Williamson
malcolm at cast.uark.edu
Thu Sep 25 15:53:46 EDT 1997
George,
Are you sure that you're not running the NRCS (former SCS) release of
GRASS? I'm running the standard CERL release (4.1.5) compiled from source
code, and my g.manual page matches the command-line help _and_ the
hard-copy User's Reference Manual. If you _are_ running the NRCS code,
then you've got quite a few potential problems, as the majority of GRASS
users don't have this code. NRCS has not publicly released the source
code to their most recent version, at least not to the best of my knowledge
(correct me, Jill!).
-Malcolm
On Thu, 25 Sep 1997, George Chou wrote:
> Malcolm,
> Thanks for replying. However, I did find that "d.rast help" and "g.manual"
> produce different parameter list. When there is conflict between "Help"
> and "Manual", we test the program by executing the program with different
> parameter settings. For "d.rast", our test result shows that "d.rast help"
> matches the command. My preference is to have a choice for the background
> color.
>
> Here are the messages I got from executing "d.rast help" and "g.version":
>
> #########################################
> 7 /home/chou> d.rast help
>
> Usage:
> d.rast [-oi] map=name [catlist=cat[-cat][,cat[-cat],...]]
> [vallist=val[-val][,val[-val],...]] [bg=color]
>
> Flags:
> -o Overlay (non-null values only)
> -i Invert catlist
>
> Parameters:
> map Raster map to be displayed
> catlist List of categories to be displayed
> vallist List of values to be displayed
> bg Background color (for null)
> options: white,black,red,green,blue,yellow,magenta,cyan,aqua,
> grey,gray,orange,brown,purple,violet,indigo
> 8 /home/chou> g.version
> GRASS 4.1 (Spring 1993) Update Package 5, January 1995
>
> #########################################
> ----------
> > From: Malcolm Williamson <malcolm at cast.uark.edu>
> > To: grassu at cecer.army.mil
> > Subject: Re: <bg> is not a valid parameter
> > Date: Thursday, September 25, 1997 8:12 AM
> >
> > The GRASS Version 4.1 User's Reference Manual (hardcopy, Spring 1993 does
>
> > not list "bg" as a parameter for d.rast (in fact, _none_ of the "d."
> > commands list bg as a parameter in that manual). What are you guys
> > testing this on??
> > -Malcolm
> >
> > On Wed, 24 Sep 1997, George Chou wrote:
> >
> > > Hi,
> > > A GRASS-XMI user reported that he could not display a raster map while
> > > running GRASS4.1.5. It was found that the parameter list for d.rast
> has
> > > been changed. When the following command was executed
> > >
> > > d.rast map=elevation bg=black
> > >
> > > an error message said
> > >
> > > <bg> is not a valid parameter
> > >
> > > I remember <bg> used to be an optional parameter in GRASS4.1. Could
> > > someone explain the reason for the change? Thanks.
> > >
> > > The version 1.2.1 release of GRASS-XMI for Solaris running on SPARC
> will
> > > be available for downloading (http://www.gpz.com) in ten days. The new
>
> > > release will support d.rast for both GRASS4.1 and 4.1.5. It will also
> > > include Map Calculator and a few other modules.
> > >
> > > Regards,
> > > George Chou
> > > gchou at gpz.com
> > > (650) 949-3708
> > >
>
More information about the grass-user
mailing list