Skip to main content
Question

How to Fanout vir .GDB contents?

  • August 15, 2014
  • 2 replies
  • 24 views

Forum|alt.badge.img
Hi there,

 

 

I have a fully functional workspace that dynamically does calculations on shape files contained within a selected folder. My output is an xls that is fanned out baie the “filename” attribute retrieved from the “FileNamePartExtractor” transformer.

 

 

My problem is, I need to do the same calculation for a GDB file now, containing multiple layers(such as WATER, FORREST, etc). Now obviously, “filename” only retrieves the name of the .gdb (AFR_Complete.gdb in this case) so that no longer works. I’ve also tried “fme_basename” and “fme_dataset”, but with no success.

 

 

Is there a way that I can fanout by the contents of the GDB file?

 

 

 

Thanks in advance
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

takashi
Celebrity
  • August 15, 2014
Hi Robbie,

 

 

"fme_feature_type" attribute of every feature read by the GDB reader stores feature type name. And, if you need to get feature type names via other than the GDB reader, you can use the Schema (Any Format) reader. Features read by the reader will have "fme_feature_type_name" attribute.

 

 

Takashi

Forum|alt.badge.img
Thanks Takashi!

 

 

That was exactly the one I was looking for. Works perfectly.

 

 

 

Kind Regards,