Mosaic To New Raster (Data Management Tools)
Summary
Merges multiple raster datasets into a new raster dataset.
Usage
The input raster datasets are all the raster datasets you would like to mosaic together. The inputs must have the same number of bands and same bit depth; otherwise, the tool will exit with an error message.
The Mosaic tool has more parameters available when combining datasets into an existing raster, such as options to ignore background and NoData values.
You must set the pixel type to match your existing input raster datasets. If you do not set the pixel type, the 8-bit default will be used and your output may be incorrect.
You can save your output to BIL, BIP, BMP, BSQ, DAT, Esri Grid , GIF, IMG, JPEG, JPEG 2000, PNG, TIFF, or a geodatabase raster dataset.
When storing a raster dataset to a JPEG format file, a JPEG 2000 format file, or a geodatabase, you can specify a Compression Type value and a Compression Quality value in the geoprocessing environments.
The GIF format only supports single-band raster datasets.
When mosaicking with raster datasets containing color maps, it is important to note differences across the color maps for each raster dataset you mosaic. In this situation, use the Mosaic tool for rasters with different color maps; however, you must choose the proper Mosaic Colormap Mode parameter value. If an improper colormap mode is chosen, your output may not be as expected.
This tool does not honor the Output extent environment setting for enterprise geodatabases. If you want a specific extent for your output raster, consider using the Clip tool. You can either clip the input rasters prior to using this tool, or clip the output of this tool.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Rasters |
The raster datasets that you want to merge together. The inputs must have the same number of bands and same bit depth. |
Mosaic Dataset; Raster Dataset; Raster Layer |
|
Output Location |
The folder or geodatabase to store the raster. |
Workspace |
|
Raster Dataset Name with Extension |
The name of the dataset you are creating. When storing the raster dataset in a file format, specify the file extension as follows:
When storing a raster dataset in a geodatabase, do not add a file extension to the name of the raster dataset. When storing a raster dataset to a JPEG format file, a JPEG 2000 format file, a TIFF format file, or a geodatabase, you can specify Compression Type and Compression Quality values in the geoprocessing environments. |
String |
|
Spatial Reference for Raster (Optional) |
The coordinate system for the output raster dataset. |
Coordinate System |
|
Pixel Type (Optional) |
The bit depth, or radiometric resolution of the mosaic dataset. If you do not set the pixel type, the 8-bit default will be used and your output may be incorrect.
|
String |
|
Cellsize (Optional) |
The pixel size that will be used for the new raster dataset. |
Double |
|
Number of Bands |
The number of bands that the output raster will have. |
Long |
|
Mosaic Operator (Optional) |
The method used to mosaic overlapping areas. For more information about each mosaic operator, refer to the Mosaic Operator help topic.
|
String |
|
Mosaic Colormap Mode (Optional) |
Applies when the input raster datasets have a colormap. Specifies the method that will be used to choose which color map from the input rasters will be applied to the mosaic output. For more information about each colormap mode, see the Mosaic colormap mode help topic.
|
String |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
Output Raster Dataset |
The output raster dataset. |
Raster Dataset |
Environments
Compression, Extent, NoData, Output CONFIG Keyword, Parallel Processing Factor, Pyramid, Raster Statistics, Resampling Method, Tile Size
Special cases
- Extent
-
Not valid for enterprise geodatabase
Licensing information
- Basic: Yes
- Standard: Yes
- Advanced: Yes