AnsweredAssumed Answered

Fill in nodata gaps

Question asked by baidarkabob on Nov 28, 2017
Latest reply on Nov 28, 2017 by baidarkabob

Hi,

 

I have combined two rasters and ended up with some slivers of nodata. I would like to fill those cells in with neighboring values. I have tried this expression in the raster calculator: Con(IsNull("raster"), FocalStatistics("raster", NbrRectangle(5,5, "CELL"), "MEAN"), "raster")

 

but that results in new values; i assume the mean of the 5,5 window values. Can I modify this expression to replace mean with something that does not result in new values? Just want the most common neighboring value to get assigned to the nodata areas.

 

Thanks!

Outcomes