Solved

Looping (batching ? may be the word to use here) through feature classes in a .gdb

  • 31 January 2023
  • 2 replies
  • 2 views

Hi, I've a workspace where I process a series of point feature classes within a single geodatabase (see pic). I'm manually adding/removing connectors to process each feature class on it's own, however, I'd like to simply run the process once and it loops through ALL of the features.

I've experimented with the Directory and File Pathnames Reader, however from what I can tell it only processes multiple files within a directory NOT a a geodatabase and the features within.

Any thoughts would be appreciated.

icon

Best answer by redgeographics 31 January 2023, 07:17

View original

2 replies

Userlevel 5
Badge +25

You can simply connect all of your input feature types. Based on what you're saying it looks like they all have the same attribute structure so there's no need to adapt the process itself. If you do need to know which feature type a feature belongs to you can check the internal attribute fme_feature_type.

Goodness, that simple.

I didn't think to do that, I feel like a goose.

Thank you

Reply