raster MASKs; was [GRASS-dev] interferring ovewrite flags

Michael Barton michael.barton at asu.edu
Tue Oct 10 00:19:36 EDT 2006


Is there any way to simply have the parser make a checkbox out of --o the
way it does for -o?

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton



> From: Glynn Clements <glynn at gclements.plus.com>
> Date: Tue, 10 Oct 2006 05:04:09 +0100
> To: Michael Barton <michael.barton at asu.edu>
> Cc: Hamish <hamish_nospam at yahoo.com>, 'GRASS devel ' <grass-dev at grass.itc.it>
> Subject: Re: raster MASKs; was [GRASS-dev] interferring ovewrite flags
> 
> 
> Michael Barton wrote:
> 
>> Back to the original question.
>> 
>> I'd like users to be able to choose to overwrite an existing MASK from the
>> GUI in r.mask. 
>> 
>> AFAICT, this is only possible by making an overwrite flag of some kind in
>> the script. Currently it is -o (unless someone has changed it). The
>> system-wide flag --o also causes the script to be in overwrite mode. So what
>> is the best solution?
>> 
>> 1) leave it as is (-o and --o will overwrite the existing MASK). Is this
>> really a problem?
>> 2) make the flag another letter (Glynn nixed -f)?
>> 3) a different solution that I haven't thought of?
> 
> I'd say #1, although I would add to the flag's description something
> along the lines of "(deprecated; use --o instead)".
> 
> -- 
> Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list