[GRASS5] Zoom
Radim Blazek
blazek at itc.it
Thu May 2 11:53:07 EDT 2002
On Thursday 02 May 2002 12:31 pm, Eric G. Miller wrote:
> That looks like a good start, but what's the difference between the MAP
> and INPUT versions?
Just:
Opt->key = "output";
x
Opt->key = "map";
> Does the MAP version mean read/write?
No it is only old map for modules which dont have output (like d.vect).
(BTW, I think that input could be always input=, but map= is already
used in g50 and it seems to me that others want this distinction?)
> Also, the
> V_CATS one doesn't seem useful, since there already is a multiple flag.
V_CATS may be something like '1,3,7-9,11' and may be parsed by
Vect_str_to_cat_list (char *str, struct cat_list *list);
> Also, could we consider moving to enum's rather than #defines whenever
> possible. The two small benefits are possibly better type checking,
> and better debugging support.
OK, done for G_define_standard_option().
Radim
More information about the grass-dev
mailing list