Usage
This tool is intended for use in ModelBuilder and not in Python scripting.
The tool has two outputs: Raster and Name, which could be used as inline variable %Name% in other tools.
Syntax
IterateRasters(in_workspace, {wildcard}, {raster_format}, {recursive})
Parameter | Explanation | Data Type |
in_workspace | Workspace containing the rasters to iterate through. | Workspace |
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 extension of the raster format, such as ASC, BIL, BIP, BMP, and so on, or type in another extension. | String |
recursive (Optional) | Determines if subfolders of the main folder will be iterated through recursively.
| Boolean |
Derived Output
Name | Explanation | Data Type |
raster | The full path to the raster. | Raster Dataset |
name | The name of the raster. | String |
Environments
Licensing information
- Basic: Yes
- Standard: Yes
- Advanced: Yes