Merge Rasters function

Overview

The Merge Rasters function groups or merges a collection of rasters.

Use this function when you have multiple rasters that you want treated as a single item, such as calculating the same statistics for all images, or when color balancing so you don't need to color balance each image separately. This is useful when working with imagery stored as separate tiles; this way, the tiles are treated as part of the same image.

You can also use this function to combine multidimensional raster datasets spatially or across variables and dimensions.

Notes

To use this function, open the attribute table and select the rows in the table representing one image. Then right-click the Footprint layer and click Selection > Merge Selected Items. The selected items are converted from individual items into one new item (row) in the mosaic dataset's attribute table. If you open the properties for this item (by clicking the arrow in the Raster field), you can view the Merge Rasters function in the function chain.

To remove this function, select the item in the attribute table, right-click the Footprint layer, and click Selection > Split Merged Items.

This function can be used to create a merged multidimensional raster layer from a list of multidimensional rasters. For example, if you have a mosaic dataset that contains 30 years of monthly precipitation data and another dataset with 10 years of monthly temperature data, you can combine them into a multidimensional raster with both variables.

This function can be used to treat items in a mosaic dataset as a single item. The Merge Mosaic Dataset Items tool uses this function to merge items in a mosaic dataset.

To remove this function from a mosaic dataset, use the Split Mosaic Dataset Items tool.

Parameters

Parameter nameDescription

Rasters

The input raster datasets or multidimensional raster datasets to merge.

Resolve Overlap Method

Specifies the method to use to resolve overlapping pixels in the combined datasets.

  • First—The pixel value in the overlapping areas is the value from the first raster in the list of input rasters. This is the default.
  • Last—The pixel value in the overlapping areas is the value from the last raster in the list of input rasters.
  • Min—The pixel value in the overlapping areas is the minimum value of the overlapping pixels.
  • Max—The pixel value in the overlapping areas is the maximum value of the overlapping pixels.
  • Mean—The pixel value in the overlapping areas is the average of the overlapping pixels.
  • Sum—The pixel value in the overlapping areas is the total sum of the overlapping pixels.

In this topic
  1. Overview
  2. Notes
  3. Parameters