Solved

Repeat workbench for all feature classes in file geodatabase

  • 25 September 2019
  • 2 replies
  • 11 views

Badge +4

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

icon

Best answer by itay 26 September 2019, 09:23

View original

2 replies

Badge +16

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.

Badge +4

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

Reply