I have points shapefile and a raster file. For each point, I want to extract the raster value which overlaps that particular point. This has been done in QGIS (link below) but I was looking for a solution for GRASS GIS.

Extracting raster values at points using Open Source GIS?

EDIT: I found the blog below to be useful and posted the solution to the question below

  • 1
    What GRASS documentation have you studied so far? Did you find anything useful?
    – user30184
    Dec 2, 2016 at 11:57

2 Answers 2


The GRASS documentation on v.what.rast is very clear and concise. Have you tried:

v.what.rast map=pnts raster=elevation column=height

Where pnts is your vector point layer; elevation is your raster and height is the attribute that will be updated.


Thanks for the reply. I found a useful blog for the solution.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.