ArcGIS Desktop

  • Documentation
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Iterate Rasters

  • Summary
  • Usage
  • Syntax
  • Environments
  • Licensing information

Summary

Iterates over rasters in a Workspace or a Raster Catalog.

Learn how Iterate Rasters works in ModelBuilder

Usage

  • This tool is intended for use in ModelBuilder and not in Python scripting.

  • Rasters in a workspace or Raster Catalog can be restricted to iterate over raster types, such as ASC, BIL, BIP, BMP, BSQ, CIT, COT, DT0, DT1, DT2, ERS, GIF, GIS, GRID , HDF, IMG, JP2, JPG, LAN, LGG, NTF, OVR, PNG, RAW, RPF, SID, and TIF.

  • The tool has two outputs: Output Raster and Name, which could be used as in-line variable %Name% in other tools.

  • If an Iterator is added to a model, all tools in the model iterate for each value in the iterator. If you do not want to run each tool in the model for each iterated value, create a sub-model/model within a model/nested model that contains only the iterator and add it as a model tool into the main model.

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

Licensing information

  • ArcGIS Desktop Basic: Yes
  • ArcGIS Desktop Standard: Yes
  • ArcGIS Desktop Advanced: Yes

Related topics

  • An overview of the Iterator toolset
  • A quick tour of using iterators

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal