[GRASS-user] interactive multiple selection

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).

Thank you,
Vincent.

On Wed, Jan 21, 2009 at 9:25 AM, Vincent Bain <bain@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

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 <bain@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