0

Iterate layers cycles through in other variables except Output layer.

Here you can see the cycle of Name output is working properly, but the output layer is always passed as the first one in the workspace.enter image description here

Here are my iterate layer parametersenter image description here

This was working a few days ago, nothing has been changed.

Things I've tried:

  • ArcGIS update
  • Removing all functions, starting clean in a new model,
  • setting preconditions to assure rastertoASCII runs last
  • Iterating layers in a different workspace with different and fewer
    rasters (also properly worked before). Results in same mind boggling bug.
New contributor
WilliamGIS44 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
1
  • As a side note, if your upgrade to arcpro 3.0 you can turn off the grouping behaviour that was introduced in 2.8. so you don't have to deal with the nutty layer names you have.
    – Hornbydd
    Aug 4 at 22:54

1 Answer 1

0

The tool before this names the layers (variable name: name of file). The layer names have %YearIOP%.tif as the variable name. I renamed this to YYIOP to remove the %s. This fixed the issue with the iterate layer tool.

New contributor
WilliamGIS44 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

WilliamGIS44 is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.