HOW TO

Merge multiple raster datasets into a new raster dataset in ArcGIS Pro

Last Published: July 19, 2023

Summary

When modelling elevations, surfaces, or terrains, aerial vehicles (such as aircrafts or helicopters) are used to capture data of the study area. Due to limitations in data extent capture by a single vehicle, multiple shots are taken to cover the study region. The larger the study area, the higher the number of raster datasets produced. Multiple raster datasets are merged into a new raster dataset to aid in visualization and analysis of the study region.

In ArcGIS Pro, multiple raster datasets are merged using either the Mosaic To New Raster tool, or the Mosaic Rasters function. The table below compares both methods.

Note:
To merge multiple raster datasets in ArcMap, refer to How To: Merge multiple raster datasets into a new raster dataset in ArcMap.
 Mosaic To New RasterMosaic Rasters
MechanismGeoprocessing toolRaster function
OutputA new raster dataset is displayed in the Contents pane. The output is stored in the geodatabase specified in the Output Location field.A new temporary raster dataset is displayed in the Contents pane. The output is not stored in any geodatabase.
Able to define the output extension when storing in a file format?YesNo
Able to define the pixel type?YesYes
Able to define the cell size?YesNo
Able to process multidimensional raster layer?NoYes
Able to define number of bands?Yes. All raster input must have the same number of bands.No. It is not necessary for all raster input to have the same number of bands.
Able to define the Mosaic Colormap Mode?YesNo
Options available to mosaic overlapping areas
  • First
  • Last (default)
  • Blend
  • Mean
  • Maximum
  • Minimum
  • Sum
  • First
  • Last
  • Min
  • Max
  • Mean
  • Blend (Default)
Note:
To merge multiple raster datasets into an existing raster dataset, use the Mosaic (Data Management) tool.

Procedure

Choose one of the methods described to merge multiple raster datasets into a new raster dataset in ArcGIS Pro.

Mosaic To New Raster tool

  1. In ArcGIS Pro, open the geoprocessing tool, and search for Mosaic To New Raster.
  2. In the Mosaic To New Raster pane, configure the parameters as follows:
Note: 
Refer to ArcGIS Pro: Parameters for more information on the syntax used.
  1. For Input Rasters, select all the raster datasets to merge. In this example, they are 090160.tif, 090161.tif, and 090162.tif.
  2. For Output Location, specify the desired geodatabase. In this example, it is Amberg.gdb.
  3. For Raster Dataset Name with Extension, specify the output name. In this example, it is Merge_MosaicToNewRaster.
Note:
Only specify the file extension when storing the raster dataset in a file format. Do not specify any file extension behind the output name when storing the dataset in a geodatabase. Refer to the Parameters section for the list of supported extensions.
  1. For Spatial Reference for Raster, specify the spatial reference of the output layer. In this example, it is the same as the input reference, which is Deutsches_Hauptdreiecksnetz_Transverse_Mercator.
  2. For Pixel Type, specify the same value as the input. In this example, it is 8 bit unsigned.
Note:
Use the following steps to determine raster information, such as pixel types and number of raster bands.
1. Right-click the input raster dataset, and select Properties.
2. In the Layer Properties dialog box, click Source > Raster Information.

The Layer Properties dialog box.
  1. For Number of Bands, specify the same value as the input. In this example, it is 3.
  2. For Mosaic Operator, select the method used to merge overlapping raster datasets. In this example, it is the default option, Last.
  3. For Mosaic Colormap Mode, select the color map from the input rasters to apply to the mosaic output. In this example, it is the default option, First.
  4. Click Run.
The Mosaic To New Raster tool pane to be configured.

The output raster stitches all input raster datasets into a single raster dataset.

The Contents pane and the output raster dataset.

A new dataset is displayed in Contents and is created in the specified geodatabase.

The output dataset displayed in the Catalog pane.

Mosaic Rasters function

  1. In ArcGIS Pro, click either the Analysis or Imagery tab, and select Raster Functions.
  2. In the Raster Functions pane, navigate to System > Data Management > Mosaic Rasters.
Selecting Mosaic Rasters in the Raster Functions pane.
  1. In the Mosaic Rasters Properties pane, configure the parameters on the Parameters tab as follows:
Note: 
Refer to ArcGIS Pro: Parameters for more information on the parameters used.
  1. For Rasters, specify all raster datasets to merge. In this example, they are 090160.tif, 090161.tif, and 090162.tif.
  2. For Operation, specify the method used to merge overlapping rasters. In this example, it is the default option, Blend.
  3. Click Create new layer.
The Mosaic Rasters Properties pane to be configured.
Note:
Open the General tab to specify Name, Description, Output Pixel Type, and Multidimensional Rules.

The image below shows three raster datasets stitched into a single raster dataset. The new temporary raster dataset is displayed in Contents, but not in any geodatabase.

The Contents pane and the temporary raster dataset.
  1. Save the project to ensure the output dataset persists in the next session.

Article ID:000022861

Software:
  • ArcGIS Pro 3 0
  • ArcGIS Pro 2 8 x
  • ArcGIS Pro 2 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options