[GRASS-dev] making g.remove less verbose

Jachym Cepicky jachym.cepicky at centrum.cz
Mon Oct 2 13:56:11 EDT 2006


hallo,

On Fri, Sep 29, 2006 at 06:06:59PM +0100, Glynn Clements wrote:
> 
> 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>

if i understand this well, nobody is really protesting against this
    patch, so i commited it.

g.remove --help

...
    -f Force remove
...

jachym

-- 
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
-----------------------------------------   
OFFICE:                                     
Department of Geoinformation Technologies 
Zemedelska 3
613 00, Brno
Czech Republick
e-mail: xcepicky at node.mendelu.cz
URL:    http://mapserver.mendelu.cz
Tel.:   +420 545 134 514
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20061002/be60f8e8/attachment.bin


More information about the grass-dev mailing list