Re: [GRASS-dev] Re: [GRASS-user] interactive multiple selection

2009-01-25 Thread Glynn Clements
Hamish wrote: Are you talking about making the module handle the query, or extending Vect_open_old() to accept a map+query so that the module doesn't need to do anything? vaguely thinking about ways to avoid having to custom code into each individual module. So: extending

Re: [GRASS-dev] Re: [GRASS-user] interactive multiple selection

2009-01-24 Thread Hamish
Glynn wrote: Are you talking about making the module handle the query, or extending Vect_open_old() to accept a map+query so that the module doesn't need to do anything? vaguely thinking about ways to avoid having to custom code into each individual module. So: extending Vect_open_old() to

Re: [GRASS-dev] Re: [GRASS-user] interactive multiple selection

2009-01-23 Thread Moritz Lennert
On 22/01/09 21:50, Hamish wrote: 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' In what ways do you feel this is

Re: [GRASS-dev] Re: [GRASS-user] interactive multiple selection

2009-01-23 Thread Glynn Clements
Hamish wrote: 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

Re: [GRASS-dev] Re: [GRASS-user] interactive multiple selection

2009-01-23 Thread Michael Barton
On Jan 23, 2009, at 11:05 AM, Glynn Clements wrote: Hamish wrote: 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

[GRASS-dev] Re: [GRASS-user] interactive multiple selection

2009-01-22 Thread Hamish
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

Re: [GRASS-dev] Re: [GRASS-user] interactive multiple selection

2009-01-22 Thread Martin Landa
Hi, 2009/1/22 Hamish hamis...@yahoo.com: 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' hm, this would complicate

Re: [GRASS-dev] Re: [GRASS-user] interactive multiple selection

2009-01-22 Thread Michael Barton
On Jan 22, 2009, at 1:56 PM, Martin Landa wrote: Hi, 2009/1/22 Hamish hamis...@yahoo.com: 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;