[GRASSLIST:7514] Re: rpms - v.db.update

Michael Fecht michael.fecht at uibk.ac.at
Mon Jul 11 02:37:04 EDT 2005


Hi Helli,

>>Subject:
>>[GRASSLIST:7510] rpm¿s - v.db.update
>>From:
>>Helmut Kudrnovsky <hellik at web.de>
>>Date:
>>Sun, 10 Jul 2005 14:11:22 +0200
>>To:
>>GRASSLIST at baylor.edu
>>
>>To:
>>GRASSLIST at baylor.edu
>>
>>
>>dear grass-friends,
>>
>>i have downloaded the actual suse-rpm´s from the link on the official site (http://www.gdf-hannover.de/software).
>>
>>the files are called:
>>
>>geos-2.0.0-1.suse91.i586.rpm
>>grass-6.0.0-1.suse91.i586.rpm
>>...
>>
>>i wanted to install the files with yast on my 9.2.suse-machine, but nothing happend.  
>>i had to rename alle the files without *.suse91.* (grass-6.0.0-1.i586.rpm, etc.), then i could install them without problems.
>>
>>--------------
>>
>>i have a polygon-vector-layer in grass with a lot columns in the attribute table.
>>
>>i've looked in the manual of v.db.update, but there is still a question:
>>
>>i have three coloumns BID, GDNR, PROJNR,  FNR (all number-coloumns)
>>
>>is it possible to update the coloumn BID with an  expression like GDNR + PROJNR + FNR (the sum of  the mathematical addition) or FNR + (PROJNR * 100) + (GDNR * 10000).
>>
>> 
>>
>>    
>>
Try db.execute. There you can use different SQL-commands to work on the 
attributes.

>  
>
>>i tried this above, but i always get an error-message.
>>
>>thanks with greetings from tyrol
>>helli
>>
>> 
>>
>>    
>>
greetings from tyrol too!!
Michael




More information about the grass-user mailing list