[GRASS-dev] Re: [GRASS-user] interactive multiple selection
Hamish
hamish_b at yahoo.com
Thu Jan 22 15:50:52 EST 2009
slightly-related, but before I forget, I had an idea about the "adding
where= SQL queries to all vector modules in gr7" wish. hijack the parser
with a semi-colon.
for example:
v.module input="roads; WHERE surface IS 'gravel'"
the standard FS is a comma, but the semi-colon allows you still have
multiple inputs. I guess we'd need some new libgis function to tokenize
the option list (or can G_tokenize() be run nested with a programmer
specified delim? [upon quick look, yes, I think it can])
Glynn had a similar idea about the parser options for r.series(?) with
passing maps & methods with in=mapname1,method1,mapname2,method2[,...]
or so. I am not so sold on that idea, I would prefer like in=map1,map2,map3
meth=n,sum,mean as it is more clear.
Hamish
More information about the grass-dev
mailing list