Saturday, 10 December 2016

Using multiple wildcards within iterator of ArcGIS ModelBuilder?


I would like to know if it is possible to use multiple wildcards to select specific shapefiles when using the Iterate Feature Classes tool in ArcGIS ModelBuilder.


I use this to select all shapes beginning with T but wonder how I would ask the iterator to select shapes beginning with R,S & T, for example.


Iterate Feature Classes



Answer



To do this I would chain three submodels together.


Each submodel will use Iterate Feature Classes configured using the wildcard with a different letter (R, S, then T).


The use of submodels is needed because of the "one iterator per model" restriction.


There is a help page available on Integrating a model within a model but its examples all look to be more complicated than what you are trying to do. Nevertheless, it may be worth quickly reviewing for future reference.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...