v.what.rast vect=pnts rast=elevation col=heights
B) In case of a vector map without attached attribute table, first add
a new attribute table. This table is then populated with values
queried from the raster map:
v.db.connect -p vectpoints # .. no table yet. # add new table, link to map: v.db.addtable vectpoints col="cat integer, myvalue integer, otherval double precision" # query raster map and upload values to vector table into specified column: v.what.rast vect=vectpoints rast=rastmap col=myvalue # verify new attribute table: v.db.select vectpoints # verify statistics of uploaded values: v.univar map=vectpoints col=myvalue type=point
Last changed: $Date$