Skip to main content
Question

How to Fanout vir .GDB contents?


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

2 replies

takashi
Influencer
  • 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,

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