G63> d.erase
G63> d.rast elevation.dem
G63> d.vect bugsites icon=basic/diamond col=white fcol=red
WARNING: Line color and background color are the same!
or
G63> d.erase blue
G63> d.vect bugsites icon=basic/diamond col=white fcol=red
WARNING: Line color and background color are the same!
If that warning needs to exist at all, it should check to see if the monitor
command list is empty or there are no raster maps displayed (eg d.what.rast)
before doing so.
Otherwise it is unneeded noise in the terminal whenever you use the color
white for something -- which may make a more important error message harder to
spot.
thanks,
Hamish
-------------------------------------------- Managed by Request Tracker
G63> d.erase
G63> d.rast elevation.dem
G63> d.vect bugsites icon=basic/diamond col=white fcol=red
WARNING: Line color and background color are the same!
or
G63> d.erase blue
G63> d.vect bugsites icon=basic/diamond col=white fcol=red
WARNING: Line color and background color are the same!
If that warning needs to exist at all, it should check to see if the monitor
command list is empty or there are no raster maps displayed (eg d.what.rast)
before doing so.
That still won't catch the case where you're using the PNG driver with
GRASS_BACKGROUNDCOLOR or GRASS_TRANSPARENT. There are probably other
similar cases.
> this bug's URL: http://intevation.de/rt/webrt?serial_num=5471
> -------------------------------------------------------------------------
>
> Subject: d.vect too noisy
>
> G63> d.erase
> G63> d.rast elevation.dem
> G63> d.vect bugsites icon=basic/diamond col=white fcol=red
> WARNING: Line color and background color are the same!
>
> or
>
> G63> d.erase blue
> G63> d.vect bugsites icon=basic/diamond col=white fcol=red
> WARNING: Line color and background color are the same!
>
> If that warning needs to exist at all, it should check to see if the monitor
> command list is empty or there are no raster maps displayed (eg d.what.rast)
> before doing so.
That still won't catch the case where you're using the PNG driver with
GRASS_BACKGROUNDCOLOR or GRASS_TRANSPARENT. There are probably other
similar cases.