Export data in model builder

3807
11
12-23-2015 08:48 PM
Highlighted
New Contributor III

Hi,

I have 200 cities data in different feature class in one FGDB. My problem is i want to export data according to cities in different different folder and GDB in modal builder. so please tell me how to do this. Thanks in advance

Input is show below...                                                   

Output that i Want

Reply
0 Kudos
11 Replies
Highlighted
MVP Frequent Contributor

In Modelbuilder one way to do this would be to use an Iterator to loop through the Feature Dataset, then have a function to create a new geodatabase as it loops each time.  The name could be transferred across from the iteration to your new geodatabases through the use of a in-line variable substitution.

Iterator examples

ArcGIS Desktop

In-line variable substitution

ArcGIS Help (10.2, 10.2.1, and 10.2.2)

Chris Donohue, GISP

Highlighted
New Contributor III

tnx

But its create Only gdb. its not transfor data that we have.

Reply
0 Kudos
Highlighted
MVP Esteemed Contributor

Moved to Managing Data

since this is not Education specific

Highlighted
Regular Contributor III

Just for fun I tested tested Chris Donohue, GISP ​suggestiion your model would look similar to the one in the graphic below. You will not need an in-line variable the iterate Feature tool output is available for use in the name for create File Geodatabase tool.

Highlighted
MVP Esteemed Contributor

Wes, I think the model you set up needs one more step, a Copy Features tool to copy the input points to the newly created feature class.

Highlighted
New Contributor III

Thanks Curtis Price for help me

But copy feature tool are not work. so tell me how to use this tool in model builder & which function are used in copy feature tool.

Thanks in advance

Reply
0 Kudos
Highlighted
Regular Contributor III

Curtis Price ​is correct see below.

Highlighted
New Contributor III

Thanks for help

Reply
0 Kudos
Highlighted
Regular Contributor III

Curtis on the far right side I noted the precondition you may have to scroll to see it(see above). Thanks