Skip to main content
Question

How can I dynamically write each feature class to a separate layer with a modified name when using a single merged feature type reader?

  • August 13, 2025
  • 5 replies
  • 180 views

mitra
Contributor
Forum|alt.badge.img+4

I have a set of feature classes inside a File Geodatabase, which I read using the "Single Merged Feature Type" option in FME. After reading, I perform some analysis on the data.

At the end of my workflow, I want to write the results to a new File Geodatabase. I'm using a Dynamic Esri Geodatabase Writer because I want to write each input feature class as a separate output feature class, keeping the original names β€” but with a _buffer suffix added to each.

πŸ”Ή Goal: If the original feature class was Rivers, I want the output to be Rivers_buffer.

πŸ”Ή What I've Tried: I used an AttributeManager to set:

fme_feature_type = @Value(fme_feature_type)_buffer

I also tried setting:

fme_schema_feature_type = @Value(fme_feature_type) (before overwriting it)

But I keep getting this error:

Esri Geodatabase Writer: Feature Type Definition 'Rivers_buffer' was requested, but not defined.

πŸ”Ή Additional Info: The writer is fully dynamic.

I believe the error is because I'm using "Single Merged Feature Type", so the original fme_feature_type value is not preserved per feature.

I need to figure out how to track the original feature class names and use them dynamically at the writer with the _buffer suffix.

5 replies

lambertus
Enthusiast
Forum|alt.badge.img+25
  • Enthusiast
  • August 13, 2025

-


geomancer
Evangelist
Forum|alt.badge.img+64
  • Evangelist
  • August 13, 2025

fme_feature_type is set when you use β€œSingle Merged Feature Type".

Set the value for β€œFeature Class or Table Name” toΒ @Value(fme_feature_type)_buffer

Β 


mitra
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • August 18, 2025

I tried this but I got the following error:Β Esri Geodatabase Writer: Feature Type Definition 'Rivers_buffer' was requested, but not defined.Β 


alexbiz
Influencer
Forum|alt.badge.img+33
  • Influencer
  • August 18, 2025

You certainly have not set the "Schema Definition Name" parameter:

Β 


mitra
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • August 18, 2025

Thanks so much. My problem is solvedΒ 

Β