[GRASS5] [bug #3165] (grass) v.db.select: multiple support for column=

this bug's URL: http://intevation.de/rt/webrt?serial_num=3165
-------------------------------------------------------------------------

Subject: v.db.select: multiple support for column=

Platform: GNU/Linux/i386
grass obtained from: Mirror of Trento site
grass binary for platform: Compiled from Sources
GRASS Version: 6.1cvs April 2005

Hi,

the new column= option for v.db.select is nice, but it would be great if you could use it to list multiple columns, e.g.

v.db.select map col=ID,NAME

thanks,
Hamish

-------------------------------------------- Managed by Request Tracker

On Wed, Apr 20, 2005 at 04:02:21AM +0200, Request Tracker wrote:

this bug's URL: http://intevation.de/rt/webrt?serial_num=3165
-------------------------------------------------------------------------

Subject: v.db.select: multiple support for column=

Platform: GNU/Linux/i386
grass obtained from: Mirror of Trento site
grass binary for platform: Compiled from Sources
GRASS Version: 6.1cvs April 2005

Hi,

the new column= option for v.db.select is nice, but it would be great if you could use it to list multiple columns, e.g.

v.db.select map col=ID,NAME

Done. Was a single line code addition :slight_smile:
Please test.

Example:

v.db.select roads col=label,cat
label|cat
no data|0
interstate|1
primary highway, hard surface|2
secondary highway, hard surface|3
light-duty road, improved surface|4
unimproved road|5

Cheers
Markus