# class - type - costs # 1 - developed - 3 # 2 - agriculture - 2 # 3 - herbaceous - 1 # 4 - shrubland - 1 # 5 - forest - 0 # 6 - water - 0 # 7 - sediment - 0 r.mapcalc "costmap_for_corearea = if(landclass96==1,3,if(landclass96==2,2,if(landclass96==3,1,if(landclass96==4,1,if(landclass96==5,0,if(landclass96==6,0,if(landclass96==7,0)))))))"
r.pi.corearea input=landclass96 costmap=costmap_for_corearea output=landcover96_corearea keyval=5 buffer=5 distance=5 angle=90 stats=average propmethod=linear
Last changed: $Date$
Main index - raster index - Full index
© 2003-2016 GRASS Development Team