How to Fill NoData for Raster Data

DEM holes - Fill NoData

Last Updated: Jul 30, 2016

How to Fill NoData for Raster Data

There are a couple of options to fill NoData cells for a raster image.

ArcGIS Generalization toolset has the nibble and expand tools to fill in NoData holes.

If you have a raster with gaps in it, you can use the open source software QGIS with the GDAL Fill NoData tool

The quickest (and dirtiest) method is using the free SAGA GIS software’s Close Gaps tool. (It’s worth it to download because of how quick you can get this done.)

SAGA GIS Close Gaps Tool

Don’t get turned off downloading another software package because this will probably a much quicker method than what you will find in the next 10 minutes. SAGA GIS is completely open source. It comes with a wide spectrum of useful tools for geoscientific analysis.

With a bit of trial and error, we’ve found the most effective way to fill in NoData cells is using the  Close Gaps tool .

You can find the Close Gaps tool in the Grid toolbox.

Close Gaps Tool SAGA GIS

Change the input raster to your DEM or any raster data set with holes.

Close Gaps Tool

Click the Okay button and you’re done.

That’s all there is to it.

What’s Next?

While ArcGIS let’s you nibble and expand to eat away at NoData holes.

SAGA GIS gets the job done – quick and dirty.

Download SAGA GIS and give this tutorial a try.

Remember this tip next time you have gaps and want to replace NoData values in a raster data set.

1 Comment

Leave a Reply