[GRASS-dev] [bug #5471] (grass) d.vect too noisy

Glynn Clements glynn at gclements.plus.com
Mon Feb 5 00:40:55 EST 2007


Request Tracker wrote:

> 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.

IMHO, the warning should simply be removed.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list