[GRASS-dev] making g.remove less verbose

Glynn Clements glynn at gclements.plus.com
Fri Sep 29 13:06:59 EDT 2006


Michael Barton wrote:

> Relevant to discussions about the r.mask script. Is what Jachym is doing a
> way to provide a user checkbox in the GUI for overwriting the earlier map
> but not give confusion with the global --o overwrite flag?
> 
> That is, use -f for "force replacement of old mask with new"

No. The specific issue here is that g.remove currently won't let you
remove a map which is known to be the base map for one or more reclass
maps. It prints a warning telling you to remove the reclass maps
first.

This is a problem if the reclass maps belong to another user.

The proposed -f switch to g.remove allows you to override the warning
and remove the map anyway (with the consequence that the reclass maps
won't work because they refer to a base map which no longer exists).

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




More information about the grass-dev mailing list