Hi Markus

It seems that it does exacly what I want. I just have one question:
I need to first set the region spatial resolution to 200 before I run r.resamp.stats right?
THanks
Antonio
Markus Metz wrote:
2010/12/21 António Rocha <[email protected]>:
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).

r.resamp.stats method=mode

would do that

Markus M


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


_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user



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

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com







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

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to