In GRASS GIS you can upload raster values at positions of vector points to the attribute table of that vector point layer using the function v.what.rast. If you also interested in the raster category labels, you can have a look at r.what, which lets you query a raster map on their category values and category labels.
However, the results of r.what are written to a text file. If you want to upload raster values and labels to the attribute table of a point vector map, you can use v.in.ascii to import the text file created with r.what as a point vector layer in GRASS GIS.
Fairly straightforward, but wouldn’t it be even more convenient if you you had an option in r.what.rast to also upload the category labels? Continue reading “A GRASS GIS addon to upload raster values and labels to a point layer”