[GRASS-user] Generalization or interpolation using the majority

António Rocha antonio.rocha at deimos.com.pt
Tue Dec 21 06:13:53 EST 2010


Greetings

I have a raster classification  map with a 100 meters resolution and I 
want to interpolate to 200m resolution using GRASS and, the output value 
must be the most frequent value (majority).
Here goes an examples. Intput:
1 1 1 1 1 2 3 4
1 2 2 3 2 2 3 3
2 2 5 2 2 2 2 2
3 2 5 5 1 3 4 5
Output must be:
1 1 2 3
2 5 2 2

My question is what method do you advise to be used?

Thanks
Antonio


__________ Information from ESET NOD32 Antivirus, version of virus signature database 5720 (20101221) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




More information about the grass-user mailing list