Re: [GRASS-user] interactive multiple selection
On 22/01/09 07:14, Michael Barton wrote: On Jan 21, 2009, at 11:05 PM, grass-user-requ...@lists.osgeo.org wrote: Date: Wed, 21 Jan 2009 18:45:40 +0100 From: Vincent Bain b...@toraval.fr Subject: Re: [GRASS-user] interactive multiple selection To: GRASS user list grass-user@lists.osgeo.org Message-ID: 1232559940.6769.10.ca...@vincent-desktop Content-Type: text/plain Very much related to this, please see my suggestions for updates to the GRASS query functions. Most should be relatively minor changes, but would make querying much easier. And it would make it easier to implement GUI wrappers for interactive querying. http://grass.osgeo.org/wiki/GRASS_6.3_Feature_Plan Updates to vector querying OK, good perspective ! Concerning the GUI wrapping of commands such as v.what or v.select, will it imply the ability to query directly within the display window ? Yes. That's the idea. Martin Landa already has tried to implement this to some extent in the new wxPython GUI. But it involves a lot of workarounds for inadequacies in the GRASS vector querying. These updates to querying modules would make this easier and more robust. One of the first things that probably needs to be done is to implement the spatial index in a file, instead of memory, as already suggested by Radim: http://freegis.org/cgi-bin/viewcvs.cgi/grass6/doc/vector/TODO?rev=HEADcontent-type=text/vnd.viewcvs-markup (Keep topology and spatial index in file instead of in memory) Otherwise any vector querying becomes very slow with larger maps. Moritz ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] interactive multiple selection
On Wed, Jan 21, 2009 at 9:25 AM, Vincent Bain b...@toraval.fr wrote: Hello, considering a vector map, do you know a simple way to perform multiple selections (e.g. highlighting a set of polygons) interactively either on the display (tcltk or wxpython) or through a X monitor ? the aim in the end is to update database records on the basis of a cat list. I tried the addon v.digatt but I can't run it correctly (I think a possible reason is my vector is linked to a pg db driver, and the module was tested only with dbf driver). Coudl this help? d.extract help Description: Selects and extracts vectors with mouse into new vector map. It's not perfect but maybe a starter. Markus ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] interactive multiple selection
Thank you Markus, I tried several methods like d.extract, or d.where | v.what map=zonpi test and extracting cat values from the test file. Now I am wondering if it is worth (let's better say realistic given my skills) to try and write a custom module, inspired from v.digatt. As I already had a little experience in perl and wxwidget (frontend for data capture in postgres database) I would appreciate later on to involve in writing a python add-on, but like everyone, my principal ennemy is the lack of time ! Beside data storing, treatment, analysis, I think it would be great to improve data *production* tools, and it's what I would like to contribute. Vincent. Le mercredi 21 janvier 2009 à 09:32 +0100, Markus Neteler a écrit : On Wed, Jan 21, 2009 at 9:25 AM, Vincent Bain b...@toraval.fr wrote: Hello, considering a vector map, do you know a simple way to perform multiple selections (e.g. highlighting a set of polygons) interactively either on the display (tcltk or wxpython) or through a X monitor ? the aim in the end is to update database records on the basis of a cat list. I tried the addon v.digatt but I can't run it correctly (I think a possible reason is my vector is linked to a pg db driver, and the module was tested only with dbf driver). Coudl this help? d.extract help Description: Selects and extracts vectors with mouse into new vector map. It's not perfect but maybe a starter. Markus ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] interactive multiple selection
On Jan 21, 2009, at 7:27 AM, grass-user-requ...@lists.osgeo.org wrote: Date: Wed, 21 Jan 2009 12:21:57 +0100 From: Vincent Bain b...@toraval.fr Subject: Re: [GRASS-user] interactive multiple selection To: GRASS user list grass-user@lists.osgeo.org Message-ID: 1232536917.12409.37.ca...@vincent-desktop Content-Type: text/plain; charset=UTF-8 Thank you Markus, I tried several methods like d.extract, or d.where | v.what map=zonpi test and extracting cat values from the test file. Now I am wondering if it is worth (let's better say realistic given my skills) to try and write a custom module, inspired from v.digatt. As I already had a little experience in perl and wxwidget (frontend for data capture in postgres database) I would appreciate later on to involve in writing a python add-on, but like everyone, my principal ennemy is the lack of time ! Beside data storing, treatment, analysis, I think it would be great to improve data *production* tools, and it's what I would like to contribute. Vincent. Vincent, Very much related to this, please see my suggestions for updates to the GRASS query functions. Most should be relatively minor changes, but would make querying much easier. And it would make it easier to implement GUI wrappers for interactive querying. http://grass.osgeo.org/wiki/GRASS_6.3_Feature_Plan Updates to vector querying Thanks much for your interest. Michael ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] interactive multiple selection
Very much related to this, please see my suggestions for updates to the GRASS query functions. Most should be relatively minor changes, but would make querying much easier. And it would make it easier to implement GUI wrappers for interactive querying. http://grass.osgeo.org/wiki/GRASS_6.3_Feature_Plan Updates to vector querying OK, good perspective ! Concerning the GUI wrapping of commands such as v.what or v.select, will it imply the ability to query directly within the display window ? Vincent. Thanks much for your interest. Michael ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] interactive multiple selection
On Jan 21, 2009, at 11:05 PM, grass-user-requ...@lists.osgeo.org wrote: Date: Wed, 21 Jan 2009 18:45:40 +0100 From: Vincent Bain b...@toraval.fr Subject: Re: [GRASS-user] interactive multiple selection To: GRASS user list grass-user@lists.osgeo.org Message-ID: 1232559940.6769.10.ca...@vincent-desktop Content-Type: text/plain Very much related to this, please see my suggestions for updates to the GRASS query functions. Most should be relatively minor changes, but would make querying much easier. And it would make it easier to implement GUI wrappers for interactive querying. http://grass.osgeo.org/wiki/GRASS_6.3_Feature_Plan Updates to vector querying OK, good perspective ! Concerning the GUI wrapping of commands such as v.what or v.select, will it imply the ability to query directly within the display window ? Yes. That's the idea. Martin Landa already has tried to implement this to some extent in the new wxPython GUI. But it involves a lot of workarounds for inadequacies in the GRASS vector querying. These updates to querying modules would make this easier and more robust. Michael ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] interactive multiple selection
Yes. That's the idea. Martin Landa already has tried to implement this to some extent in the new wxPython GUI. But it involves a lot of workarounds for inadequacies in the GRASS vector querying. These updates to querying modules would make this easier and more robust. Michael Nice, Thank you all for that huge amount of work ! Vincent. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user