How To: Merge DEM layers with gaps
In some cases, there are gaps between multiple DEM layers when viewed in ArcMap. (See image below.) When merging the DEM layers, the gaps must be filled.
There are two methods that can be used to merge the DEM layers with gaps: using the IDW tool or using the elevation void fill function. If the gaps between the rasters are large, it is recommended to use the elevation void fill function.
Using the IDW tool
Note: The IDW tool requires a Spatial Analyst or 3D Analyst license.
- Merge the DEM layers.
- Use the Raster to Point tool to convert the DEM layers to point features.
- Use the Merge tool to combine the point feature layers in Step 1 (a).
- Use the IDW tool.
- Navigate to System Toolboxes > 3D Analyst Tools > Raster Interpolation > IDW.
- Use the merged layer in Step 1 (b) as the input point features.
- Select grid_code for the Z value field.
- Change the Output cell size by following the cell size of the DEM raster.
- Click OK. A new raster layer is created.
Using the Elevation Void Fill function
- In the Image Analysis window, select a raster layer, and click the Add Function button. This opens the Function Template Editor window.
- Right-click the name of the raster, and click Insert Function > Elevation Void Fill Function.
- In the Raster Function Properties window, set the parameters for the input raster, short range IDW radius, and maximum void width. For more information on the Elevation Void Fill function parameters, refer to: Elevation Void Fill function.
- Click OK. The DEM layers are merged.
- ArcGIS Help: Accessing the Raster Function Template Editor
- ArcGIS Help: IDW
- ArcGIS Help: How IDW works
- Problem: Merging rasters intersected by the International Date Line produces a gap
- How To: Merge multiple raster datasets into a new raster dataset in ArcMap
- FAQ: How is the merging of categorical rasters handled in ArcMap?
Last Published: 9/2/2018
Article ID: 000018483
Software: ArcMap 10.5.1, 10.5