[GRASS-dev] making g.remove less verbose
Michael Barton
michael.barton at asu.edu
Thu Sep 28 12:47:01 EDT 2006
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"
??
Michale
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
> From: Jachym Cepicky <jachym.cepicky at centrum.cz>
> Date: Thu, 28 Sep 2006 13:46:23 +0200
> To: Glynn Clements <glynn at gclements.plus.com>
> Cc: <grass-dev at grass.itc.it>
> Subject: Re: [GRASS-dev] making g.remove less verbose
>
>> 3. A related issue appears to apply to g.rename, i.e. it tries to
>> update any reclass maps with the new name of the base map, and
>> neglects to check whether the fopen() succeeds.
>
> i tryed to update remove.c accoring to your hints. I
>
> - added -f flag forforce remove of raster map and
> - added some warnings, when removing/rewriting of to_reclass file
> fails
>
> i'm not shure if it works like desired, plese test, patch in attachment
>
> if there will be no objections, i'll continue with g.rename on similar
> way
>
More information about the grass-dev
mailing list