<br><br><div><span class="gmail_quote">On 10/16/07, <b class="gmail_sendername">andrew haywood</b> <<a href="mailto:ahaywood3@gmail.com">ahaywood3@gmail.com</a>> 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 vector file 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 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 for each class within each polygon and some how choose the most common class.
</div></blockquote><div><br>This is probably of some help <<a href="http://grass.gdf-hannover.de/wiki/Aggregate_Values">http://grass.gdf-hannover.de/wiki/Aggregate_Values</a>>. 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>