[GRASS-user] Intersection of Vector polygons with raster

Brock Anderson brocka at uvic.ca
Sun Sep 14 17:22:18 EDT 2008


Hello,

I have two raster layers that I want to run r.stats on.  I also have  
a vector layer with polygons, and I'm only interested in applying  
r.stats to the raster cells that fall within the vector polygons.

It looks like r.stats can't clip to the vector itself.  Is there any  
command that will help me pro-process my rasters by clipping them  
against the polygons?

Thanks,
Brock


More information about the grass-user mailing list