[GRASS5] Zoom

Radim Blazek blazek at itc.it
Fri May 3 05:23:02 EDT 2002


On Friday 03 May 2002 11:03 am, Glynn Clements wrote:
> I have wondered if it would be worth having the parser handle certain
> flags and options automatically. In this case, having it recognise
> "-o" as an indication to overwrite existing output maps.
>
> Other special flags might include -v and/or -q for verbose/quiet
> operation; this would automatically affect G_percent(), plus a
> hypothetical G_message() function, and maybe G_warning().
>
> Special options might include "dbase=", "location=" and "mapset=".

Good idea.

> > > > 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);
>
> OK; I wouldn't expect applying a generic "list" constructor to the
> primitive "category" type to handle that. But you could have a
> primitive "category range" type, and have "list of category range" as
> a derived type.

Well, then "integer range" and "float range" probably, but at present,
it is not my priority, to add new types to parser, there are other,
more important things, so if anybody wants, there is an open space ...


Radim




More information about the grass-dev mailing list