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

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 that will be used 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