Greetings all<div>As far as I can see, r.statistics (<a href="http://grass.itc.it/grass64/manuals/html64_user/r.statistics.html">http://grass.itc.it/grass64/manuals/html64_user/r.statistics.html</a>) uses as cover and as basis a RASTER map. But, "All cells in the base layer are considered one object for the analysis". This is not what I want because I want base layer to be a polygon not a cell. Or Am I reading this wrong?<br>
<br><div class="gmail_quote">On Sat, Jan 16, 2010 at 9:59 AM, Markus Metz <span dir="ltr"><<a href="mailto:markus.metz.giswork@googlemail.com">markus.metz.giswork@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Markus Neteler wrote:<div><div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Pedro Roma wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Greetings all<br>
A few emails that people sent, regarding classigication operations GRASS<br>
were extremely helpful :)<br>
But now, I have one question:<br>
I need to do some aggregation of the classification map according to regions<br>
specified in a vector file. What I mean is, for each county I need to have<br>
an aggregation of all classified pixels in order to have only one value that<br>
represents that county.<br>
E.g. I have a land cover classification for my region and now I need to<br>
aggregate the classified map according to my counties in order to have a<br>
vector map in which each county is represented by its more frequent<br>
classification.<br>
Is this possible in GRASS? Was I clear :D ?<br>
<br>
</blockquote>
<br>
Could this be of interest?<br>
Addons: r.univar.zonal<br>
<a href="http://svn.osgeo.org/grass/grass-addons/raster/r.univar2.zonal/r.univar.zonal.html" target="_blank">http://svn.osgeo.org/grass/grass-addons/raster/r.univar2.zonal/r.univar.zonal.html</a><br>
<br>
</blockquote></div></div>
Or r.statistics with method=mode, gives you the most frequent value in cover map for each value in base map. AFAIK, r.univar[.zonal] doesn't have modal as output.<br>
<br>
Markus M<br>
</blockquote></div><br></div>