B) In case of a vector map without attached attribute table, first one row for
each category has to be generated. Then the new table can be populated with values
from the raster map query:
v.db.connect -p vectpoints # .. no table yet. echo 'create table vectpoints (cat integer, value integer)' | db.execute #link new table to vector map: v.db.connect table=vectpoints map=vectpoints #generate rows for each category: v.to.db map=vectpoints option=cat #query raster map and write values into vector table: v.what.rast vect=vectpoints rast=rastmap col=value #verify uploaded values: v.univar map=vectpoints col=value
Last changed: $Date$