English

How To: Merge multiple raster datasets into a new raster dataset in ArcMap

Summary

Esri recommends preserving the original raster datasets wherever possible, so the Mosaic tool and the Mosaic To New Raster tool with an empty raster dataset as the target dataset are the best choices to merge raster datasets. The Mosaic tool is used to mosaic multiple input rasters into an existing raster dataset. The existing raster dataset can be empty or it can contain data. The tool is used to merge rasters that are adjacent and have the same cell resolution and coordinate system. Similar to the Mosaic tool, the Mosaic To New Raster tool is used to mosaic multiple input raster datasets. However, unlike the Mosaic tool, the Mosaic To New Raster tool saves the output mosaic in a new empty raster dataset that it creates on the fly.

This article provides instructions to merge multiple raster datasets into a new raster dataset using the Mosaic To New Raster tool in ArcMap. The following image demonstrates the raster datasets to be merged into one raster dataset.

The rasters for merging.

Procedure

To merge two or more raster files using the Mosaic To New Raster tool, follow the steps below.

  1. Determine the number of bands and pixel type of the raster files. (Right-click Table Of Contents, click Properties and the Source tab.) The inputs must have the same number of bands and same bit depth.
The Layer Properties window displaying the Source tab.
  1. Open the Mosaic To New Raster tool by navigating to ArcToolbox > Data Management Tools > Raster > Raster Dataset.
    1. Insert the raster files.
    2. Select the output location.
    3. Specify a name and extension for the output.
    4. Specify the pixel type.
    5. Specify the number of bands.
The Mosaic To New Raster tool window displaying the Input Rasters, Output Location, Raster Dataset Name with Extension, Pixel Type (optional), and Number of Bands parameters.
  1. Run the tool.

The following image shows the output of a merged raster:

The merged DEM raster files.
Note:
This tool may take a while to run depending on the resolution of the images and their sizes.

Related Information

Last Published: 4/9/2021

Article ID: 000015258