Skip to main content
Question

Dynamic rename featureclass coming out of feature reader

  • June 2, 2020
  • 2 replies
  • 27 views

oliver.morris
Contributor
Forum|alt.badge.img+14

I am trying to change the name of features being read in and dynamically write them out. I have been looking to replicate https://knowledge.safe.com/questions/77663/rename-featureclass-coming-out-of-feature-reader.html but unfortunately it isnt working for me. Any suggestions for where i am going wrong, below is where i am switching the fme_feature_type to the new name.

 

Thank you very much 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

ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • June 2, 2020

In the linked example fme_feature_type is being copied not removed, as it is still required for the schema definition name.


oliver.morris
Contributor
Forum|alt.badge.img+14
  • Author
  • Contributor
  • June 3, 2020

A couple of issues that I had, firstly I wasnt able to get the schema out for all the features, this I think is because I had some fields that started with _'s and also a field called fme_feature_type. After removing these and adding a final feature merger to merge the schema with the new name it works.

 

It's worth noting the feature class field does not exist until it is run so in the feature writer it comes up as red.

 

Thanks for the help @ebygomm