Skip to main content
Archived

Do NOT add Format Attributes to Schema Definition generated by FeatureReader

Related products:FME Form
  • January 9, 2020
  • 1 reply
  • 7 views

takashi
Contributor

Derived from: Where are the fme_dataset and fme_basename attributes when reading with the FeatureReader?

In most formats, you can read "fme_basename" and "fme_dataset" with a FeatureReader by selecting them through the Additional Attributes to Expose parameter in the reader parameters.

It's good but then the schema feature output from the Schema port of the FeatureReader would contain those attributes in the schema definition (attribute{} list), as in:

It's just annoying when configuring dynamic schema writer feature type using the schema feature as the schema source. You will have to remove them through the Attributes to Remove parameter in the writer feature type if you don't want to write them into the destination dataset, and I think you don't want to write them usually.

In my observation, not only "fme_basename" and "fme_dataset" but also other format attributes will be added to the attribute{} list in the schema feature if you expose them via the Additional Attributes to Expose parameter.

I think it would be better if the FeatureReader would never add any format attributes to the attribute{} list in the schema feature.

This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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.

1 reply

takashi
Contributor
Forum|alt.badge.img+22
  • Author
  • Contributor
  • March 14, 2020

Is there any update about this in FME 2020?


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