I am using ModelBuilder to batch project multiple (site) specific geodatabases' contents then "Merge" like components into a single geodatabase.
I have up to eight FCs for each site (e.g. parcels, easements) and 21 sites. Say for parcels I have 21 parcels connected to the batch project.
How can I then add the "Merge tool" to the processing?
I can't actually add the 21 parcels since the reprojections do not yet exist.
-
Are you reprojecting within the model? If so, you may source the in-memory output variables of the project tool as the input layers for the merge tool.artwork21– artwork212015年05月12日 01:00:14 +00:00Commented May 12, 2015 at 1:00
-
That sounds good. How?Chuckadillus– Chuckadillus2015年05月12日 15:23:38 +00:00Commented May 12, 2015 at 15:23
-
In simplest terms try the following; 1. add in 21 project tools, 2. define the input and output for the 21 tools, 3. Add in the merge tool and source all the project tool outputs as the input for the merge tool.artwork21– artwork212015年05月12日 17:06:11 +00:00Commented May 12, 2015 at 17:06
-
Thank you. I had another advice source and went with iterating on feature class: project then append.Chuckadillus– Chuckadillus2015年05月12日 20:27:52 +00:00Commented May 12, 2015 at 20:27
-
It sounds like you may have found your solution. Assuming so, perhaps you or @artwork21 could write up a short (few sentences/steps) answer.PolyGeo– PolyGeo ♦2015年05月15日 02:58:53 +00:00Commented May 15, 2015 at 2:58
1 Answer 1
As I stated in my comment one solution is:
- Add in 21 project tools into MOdelBuilder
- Define the input and output for the 21 tools
- Add in the merge tool and source all the project tool outputs as the input for the merge tool
Or, the work around you noted:
- Add in the feature class iterater and run fc through the Project tool
- Reference output object of project tool into Append tool
-
@Chuckadillus both approaches will work, just wanted to say I think the second approach would be the quickest model to knock out rather than dragging 21 tools into model builder and setting each one..Hornbydd– Hornbydd2015年05月15日 16:43:26 +00:00Commented May 15, 2015 at 16:43
Explore related questions
See similar questions with these tags.