<div>Hi Daniel,</div><div><br></div><div>Very cool name :)</div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You should use v.rast.stats [1] as it "Calculates univariate statistics from a raster map based on <br>
vector polygons and uploads statistics to new attribute columns.
" Should be a more straight<br>forward approach.</blockquote><div><br></div><div>Thanks for the tip, but v.rast.stats gives me all univariate statistics and takes a really long time (hours vs. seconds). I've got so many pixels that I get segmentation failures and in the end I only want the sums for each polygon. It also makes it a pain to delete the unneeded columns from the vector table afterwards. Or is there a way to only have v.rast.stats give me the sums?</div>
<div><br></div><div>Thanks,</div><div>Daniel</div>
</div>