Filling only one hole in a raster

302
2
10-25-2013 05:39 AM
lauriehogan
New Contributor
Hi.
I've seen methods posted to fill holes in a raster.

I'd like to only fill the hole (noData) in a particular location with new values.  I was going to specify the area to fill with a polygon and thought there would be "Fill" using "Mask" - to specify/limit the area to be filled.  The area is small and I'd like to just use neighboring pixels with data.

I have access to Spatial Analyst extension.

Thanks.
0 Kudos
2 Replies
curtvprice
MVP Esteemed Contributor
Hi.
I've seen methods posted to fill holes in a raster.

I'd like to only fill the hole (noData) in a particular location with new values.  I was going to specify the area to fill with a polygon and thought there would be "Fill" using "Mask" - to specify/limit the area to be filled.  The area is small and I'd like to just use neighboring pixels with data.

I have access to Spatial Analyst extension.

Thanks.


There is no out of the box raster editor to do this kind of thing;  however, if you are working with categorical data, the Nibble tool will do the trick. For performance reasons, it makes sense to run the tool in the extent in your area of interest and then burn it back into the raster using Mosaic or Cell Statistics.
0 Kudos
KeaganAllan
New Contributor III
Hi,

During my travels on the forums I have across this solution given by Tim Hales:

http://forums.arcgis.com/threads/30436-Raster-Calculator-Fill-in-NoData

and this from Eric Rice:

http://forums.arcgis.com/threads/49989-Replace-no-data-with-zeros - I have not tried it but instead of having 0 you can use the replacement raster created from the polygon you wanted to use?

Maybe it will help you on your way?
Good luck!
0 Kudos