Question

Dynamic rename featureclass coming out of feature reader


Badge +10

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.

 


2 replies

Userlevel 1
Badge +21

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

Badge +10

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

Reply