I have a very simple model that has a feature class iterator (recursive) that runs through a directory and sub-folders looking for line files and then projects them to UTM_16N. The only issue with the model is the destination for the output files.
image
Instead of having all the outputs going to a single destination I want them to be created in the source folder. So basically the model would dump the output in the same folder as the source file.
There are hundreds of folders each containing an individual line file and they all have the same name. The only identifier so to speak is the container folder name (counties in this case).
-
2Best to ask a specific question. asking for advice does not fit the model of this site. See help "how to ask". gis.stackexchange.com/help/how-to-askBrad Nesom– Brad Nesom2015年05月19日 18:15:44 +00:00Commented May 19, 2015 at 18:15
1 Answer 1
You need a subtle change to your model. See the image below:
enter image description here
Configure Expression parameter of Calculate Value like this:
enter image description here
Set Output Dataset or FeatureClass parameter of Project tool to %output_value%
Explore related questions
See similar questions with these tags.