Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Data Management toolbox > Raster toolset > Tools

Composite Bands (Data Management)

Release 9.2
Last modified November 29, 2010
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

Creates a single raster dataset from multiple bands.
This tool is useful when you have many single-band rasters, covering the same spatial extent, and want to create a multiple-band raster dataset. Creating a multiple-band raster dataset allows you to display the bands together as an RGB composite. The order that the bands are listed in Multi-value Input control box will determine the order of the bands in the output raster dataset.


Illustration

Composite Bands illustration

Usage tips

Command line syntax
An overview of the Command Line window
CompositeBands_management <in_rasters;in_rasters...> <out_raster>

Parameter Explanation Data Type
<in_rasters;in_rasters...>

The input raster datasets.

Composite Geodataset
<out_raster>

The output raster dataset.

When storing the raster dataset in a file format, you need to specify the file extension: .bmp for BMP, .img for an ERDAS IMAGINE file, .jpg for JPEG, .jp2 for JPEG 2000, .png for PNG, .tif for TIFF, or no extension for GRID.

When storing a raster dataset in a geodatabase, no file extension should be added to the name of the raster dataset. A raster dataset stored in a geodatabase can be compressed; you can specify a compression type and compression quality.

Raster Dataset
Data types for geoprocessing tool parameters


Command line example

CompositeBands_management D:\Rasters\band1;D:\Rasters\band2;D:\Rasters\band3 D:\Rasters\Composite123.img

Scripting syntax
About getting started with writing geoprocessing scripts
CompositeBands_management (in_rasters, out_raster)

Parameter Explanation Data Type
in_rasters (Required)

The input raster datasets.

Composite Geodataset
out_raster (Required)

The output raster dataset.

When storing the raster dataset in a file format, you need to specify the file extension: .bmp for BMP, .img for an ERDAS IMAGINE file, .jpg for JPEG, .jp2 for JPEG 2000, .png for PNG, .tif for TIFF, or no extension for GRID.

When storing a raster dataset in a geodatabase, no file extension should be added to the name of the raster dataset. A raster dataset stored in a geodatabase can be compressed; you can specify a compression type and compression quality.

Raster Dataset

Data types for geoprocessing tool parameters


Script example

# Create the geoprocessing object
import arcgisscripting
gp = arcgisscripting.create()

gp.workspace = "c:/seattle_data"
gp.CompositeBands_management("seattle1.tif;seattle2.img;seattle3.tif","seattle_composite.tif")

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.