Filling holes in a map

James Darrell McCauley mccauley at ecn.purdue.edu
Mon Feb 14 11:03:33 EST 1994


Nalneesh Gaur (ngaur at apwk01g3.abrfc.noaa.gov) writes on 14 Feb 94:
>	I have rasterized a vector map, using v.to.rast. As a result of
>this I got some holes in my map inherent due to faulty digitizing. How can 
>I remove these holes. The map is actually a basins map.

you might try a sort of restricted median filter. That is, only
apply the filter if the pixel being examined is zero. This can
be done with r.mapcalc.



More information about the grass-user mailing list