操作方法

操作方法:将多个栅格数据集合并到 ArcMap 中的新栅格数据集中

Last Published: April 19, 2024

摘要

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.

过程

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.

文章 ID:000015258

从 ArcGIS 专家处获得帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项

相关信息

发现关于本主题的更多内容