[GRASS-dev] v.rast.stats

Moritz Lennert mlennert at club.worldonline.be
Tue Jul 29 03:20:04 EDT 2008


On 28/07/08 19:50, chris carleton wrote:
> Hello All - I have a question about the v.rast.stats script. I want to 
> maintain a MASK for the process in order to isolate portions of the 
> raster and attaching those stats to the vector table. In the script, any 
> user defined mask is temporarily renamed, but I don't see a place in the 
> script where a mask is created - by the script - for use in the stats 
> operation. So, can I just take out the mask renaming portion of the 
> script? 

AFAICT, it depends on whether you want to use the mask also on the cover 
vector map. If yes, then just remove that part, if not, then move it to 
just before the line saying "#loop over cats and calculate statistics:" 
(line 274).

Moritz


More information about the grass-dev mailing list