[GRASS-dev] Re: [GRASS GIS] #254: wxpython Layer Manager: higher raster hides the lower (GRASS GIS)

Martin Landa landa.martin at gmail.com
Fri Aug 15 06:55:56 EDT 2008


Hi.

2008/8/15 Glynn Clements <glynn at gclements.plus.com>:

[...]

>> The -o flag is additionally problematic in that it is very similar to
>> the --o flag which means "overwrite" in other contexts. We will need
>> to keep the -o flag for the GRASS 6 series, but I would recommend
>> changing it to something else for GRASS 7.
>
> Change in r32771. d.rast now makes nulls transparent by default; use
> -n to make them opaque. The -o flag no longer exists.
>
> The GUIs will need to be updated accordingly.

done in r32774.

BTW, when I start g.gui without arguments the dialog is launched
instead of the GUI. This behaviour is not right I guess, the 'gui'
parameter has already defined default value. Now you are forced to run
`g.gui gui=wxpython`.

>> Do we need to keep opaque nulls the default for GRASS 6?
>
> For 6.x? d.rast can't change, but the default state of the checkbox in
> wxGUI could be changed (gis.m already makes -o the default).

wxGUI has been already updated to force -o flag, user can change this
behaviour in GUI preferences dialog.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *


More information about the grass-dev mailing list