This is a DEM of a slope. I have made a polygon grid 10X10. I can't find a command to sample the raster by polygons. I've thought something similar with r.neighbours picking the minimum value of the neighbourhood and creating a new DEM were I will use a point grid to sample points. But my question, as I wrote above, is if there is a command to do that directly from polygon sampling. In each of 10X10 box,the algorithm will find the lowest value, and save it, as an extra collumn in the polygon attribute table. enter image description here

1 Answer 1


I found the zonal statistics and then centroids commands, do the job.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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