Skip to main content
Solved

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


joneszero
Contributor
Forum|alt.badge.img+4

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.

Best answer by redgeographics

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.

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

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+50
  • Celebrity
  • Best Answer
  • January 31, 2023

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.


joneszero
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • January 31, 2023

Goodness, that simple.

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

Thank you


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