<br><br><div><span class="gmail_quote">On 10/16/07, <b class="gmail_sendername">andrew haywood</b> &lt;<a href="mailto:ahaywood3@gmail.com">ahaywood3@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>I have then imported the classified&nbsp;vector file&nbsp;into grass. I now would like to populate the forest class by intersected the polygons in my new vector map with an existing forest class&nbsp;map and take the most common forest type from the old map. I was thinking i could rasterise the old forest class map and some how count the number of cells&nbsp;for each class within each polygon and some how choose the most&nbsp;common class.&nbsp;
</div></blockquote><div><br>This is probably of some help &lt;<a href="http://grass.gdf-hannover.de/wiki/Aggregate_Values">http://grass.gdf-hannover.de/wiki/Aggregate_Values</a>&gt;. r.statistics might be useful, but the wiki entry gives you quite a thorough description. IMHO, it is far harder than it should be. starspan might also be an option.
<br><br>Regards,<br>Jose<br></div><br></div><br>