LeeDaniel pisze:
Hi Lisa,


Maybe that's not the most elegant way to do things, but it's the one that
popped into my mind. Anybody have a better method?
yes, new add-on module r.area can do that. First you need run r.clump to create unique areas next, run r.area to remove areas smaller than treshold (in cells not in ha) and return binary map with 1 (leave) and 0 (remove)

r.area -b input=classified_map output=bin_map

next
r.mapcalc removed=if(bin_map==1,classified_map,any_value_or_null)
that all.

second option is to use r.reclass.area. it work in ha so it is probably what you need.
Best,
Daniel

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

Reply via email to