[GRASS-user] result from g.copy when layer exists

Rainer M Krug Rainer at krugs.de
Wed Jul 17 05:27:28 PDT 2013


I am a bit irritated,  ut maybe I don't dee the reasoning behind this:'

| RASS 7.0.svn (grass):~ > g.copy rast=MASK,tmp
| WARNING: <tmp> already exists
| [Raster MASK present]
| GRASS 7.0.svn (grass):~ > 

If the layer already exists, shouldn't the command give actually an
error and not only a warning?

A warning implies for me that the command worked, but maybe something
unexpected could have happened (or happened) - but this one clearly did
not work, as the layer has not been copied?



Rainer M. Krug

email: RMKrug<at>gmail<dot>com

More information about the grass-user mailing list