[GRASSLIST:6310] filling nulls in integer raster

Dylan Beaudette dylan at iici.no-ip.org
Fri Apr 1 14:55:22 EST 2005


i have a raster image that i am hoping to vectorize after a bit of 
generalization with r.reclass.area... however, r.reclass.area leaves nulls in 
the middle of larger areas of equal value:

i have tried to fill these holes, with r.fillnulls (via RST interpolation) 
r.fillnulls in=asp.large out=asp.final smooth=.01 tension=100

and the result looks something like this:

...however, is there anyway to get rid of all the nulls, replacing them with 
the value that is surrounding them?

thanks in advance

Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis

More information about the grass-user mailing list