I am running a model which I created with ModelBuilder at 10.3. The model is supposed to make a selection by attribute on a feature layer, and use that layer to clip a raster. The model is working fine when I run it, however if I try to use it in batch mode it gives unexpected results: I have many files with the same extent and content as the first line of the loop (of the batch).
The parameters of my models are:
- the input feature layer against which a selection is specified
- the input raster (.BIL)to be clipped with the selected feature
- the SQL expression for the selection (of the type "FIELD" = 'value')
- the output folder and filename (with .BIL extension)
Basically, in the batch window the feature and raster parameters are fixed, I am only changing the SQL expression to point a different 'value', so that the output raster is clipped on different areas each time, and the filename name of the output.
Below is my model:
