Skip to main content
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
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
Thanks Takashi!

 

 

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

 

 

 

Kind Regards,

Reply