Iterate Rasters (ModelBuilder)

Summary

Iterates over rasters in a Workspace or a Raster Catalog.

Learn how Iterate Rasters works in ModelBuilder

Usage

Syntax

IterateRasters_mb (in_workspace, {wildcard}, {raster_format}, {recursive})
ParameterExplanationData Type
in_workspace

Workspace or a Raster Catalog containing the rasters to iterate through.

Workspace; Raster Catalog
wildcard
(Optional)

Combination of * and characters that help to limit the results. The asterisk is the same as saying ALL. If no wildcard is specified, all inputs will be returned. For example, it can be used to restrict Iteration over input names starting with a certain character or word (e.g., A* or Ari* or Land*,and so on).

String
raster_format
(Optional)

Choose the Raster Format, such as ASC, BIL, BIP, BMP, BSP, BSQ, CIT, COT, DT0, DT1, DT2, ERS, GIF, GIS, GRID, HDF, IMG, JP2, JPG, LAN, LGG, NTF, PNG, RAW, RPF, SID, and TIF, or type in other extensions.

String
recursive
(Optional)

Determines if subfolders of the main folder will be iterated through recursively.

  • Checked—Will iterate through all subfolders.
  • Unchecked—Set as Default. Will not iterate through all subfolders.
Boolean

Environments

This tool does not use any geoprocessing environments

Related Topics

Licensing Information

ArcView: Yes
ArcEditor: Yes
ArcInfo: Yes

4/27/2011