[GRASS-user] Aggregate a classification map according to a vector file

Markus Neteler neteler at osgeo.org
Fri Jan 15 23:50:30 EST 2010


On Fri, Jan 15, 2010 at 4:08 PM, Pedro Roma <pedroroma1982 at gmail.com> wrote:
> Greetings all
> A few emails that people sent, regarding classigication operations GRASS
> were extremely helpful :)
> But now, I have one question:
> I need to do some aggregation of the classification map according to regions
> specified in a vector file. What I mean is, for each county I need to have
> an aggregation of all classified pixels in order to have only one value that
> represents that county.
> E.g. I have a land cover classification for my region and now I need to
> aggregate the classified map according to my counties in order to have a
> vector map in which each county is represented by its more frequent
> classification.
> Is this possible in GRASS? Was I clear :D ?

Could this be of interest?
Addons: r.univar.zonal
http://svn.osgeo.org/grass/grass-addons/raster/r.univar2.zonal/r.univar.zonal.html

Markus


More information about the grass-user mailing list