[GRASS-dev] [bug #4983] (grass) r.blend: the output name check is to strict

this bug's URL: http://intevation.de/rt/webrt?serial_num=4983
-------------------------------------------------------------------------

Subject: r.blend: the output name check is to strict

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 2006.08.02

If the output *base* name is identical to input name, an error is issued:

   r.blend first=map1 second=map2 output=map1

   Error: option <output>: <map1> exists.

This is *wrong* - r.blend *won't* be overwriting <map1>, it will be *creating* map1.r map1.b and map1.g, OTW, using the <map1> as a *base* name only ("Base name for red, green, & blue output maps containing the blend", like manuall says).

Maciek

-------------------------------------------- Managed by Request Tracker