Timeline for Extract raster values for polygons in GRASS
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 30, 2021 at 18:22 | comment | added | Matthias Fripp |
@tsutsume v.rast.stats is the most straightforward way to get data for the raster cells within each polygon, as you described in your question. But if you need vector points for each raster cell, you could start by using r.to.vect type=point , then use v.overlay to relate the points to the areas.
|
|
Jan 16, 2018 at 11:17 | comment | added | tsutsume | Yes, that looks like what I need. However, I think I would first like to get the vector map of all the points (raster cell centroids) inside each of my polygons. Do you know how I could do that? | |
Jan 16, 2018 at 11:02 | history | answered | dmci | CC BY-SA 3.0 |