Skip to main content
Solved

Repeat workbench for all feature classes in file geodatabase

  • September 25, 2019
  • 2 replies
  • 49 views

markcoopersdc
Contributor
Forum|alt.badge.img+6

Hi

 

I have a workbench (see attachment 1) which works out the area of each feature in a dataset (BrownfieldSitesInGreenbelt) that is within a constraint (in this case Ancient Woodland). I would like to repeat this process with all the constraints feature classes within a file geodatabase.

I know I need to use the workspace runner to do this and have created a workbench (attachment 2), but I do not know how to get it to iterate through all the feature classes in the file geodatabase. At the moment it seems just to read all the items in the FGDB and not do much else.

Please could someone advise where I am going wrong?

 

Many thanks

Best answer by itay

Hi @markcoopersdc,

Have a look at the single merge feature type in your FGDB reader:

This will read all feature classes into the workspace as one reader feature type and the feature types ( feature classes) can be controlled by the Features Type To Read parameter:

Probably you don't need a master and child workspaces and can do it all in one workspace.

View original
Did this help you find an answer to your question?

2 replies

itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • Best Answer
  • September 26, 2019

Hi @markcoopersdc,

Have a look at the single merge feature type in your FGDB reader:

This will read all feature classes into the workspace as one reader feature type and the feature types ( feature classes) can be controlled by the Features Type To Read parameter:

Probably you don't need a master and child workspaces and can do it all in one workspace.


markcoopersdc
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • September 27, 2019

Thats great, thank you. Managed to get it to work perfectly!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings