Re: [GRASS-user] Re: combining and evaluating vector dbf values

2008-11-26 Thread Markus Neteler
On Tue, Nov 25, 2008 at 9:07 AM, maning sambale [EMAIL PROTECTED] wrote: Nearly there but not quite: The final column should combine the values from the 2 columns, am I right that concat doesn't work with dbf? So this doesn't work echo UPDATE vectormap SET c_COVER = a_COVER || a_value |

[GRASS-user] Re: combining and evaluating vector dbf values

2008-11-25 Thread maning sambale
Nearly there but not quite: The final column should combine the values from the 2 columns, am I right that concat doesn't work with dbf? So this doesn't work echo UPDATE vectormap SET c_COVER = a_COVER || a_value | db.execute cheers, maning On Tue, Nov 25, 2008 at 2:34 PM, maning sambale [EMAIL

[GRASS-user] Re: combining and evaluating vector dbf values

2008-11-24 Thread maning sambale
Hi, Answering partially to my problem. I found a way to update columns by from a criteria of another column like this: v.info -c overlay_trainingANDforest2002_sq lDisplaying column types/names for database connection of layer 1: INTEGER|cat INTEGER|a_cat INTEGER|a_value CHARACTER|a_label