Skip to main content
Solved

Transformer looses attribute values, how to keep them?

  • August 7, 2014
  • 1 reply
  • 6 views

Forum|alt.badge.img
Dear FME community,

 

 

I'm using the MultiLayerAreaGeneralizer to simplify and smooth polygons which touch themselves. The advantage, compared to the generalizer, is that the transformer doesn't create any holes between the areas. The boundaries still touch each other. So far it works perfectly.

 

 

However, the transformer doesn't keep the attribute values that enter it. As you can see in the screenshot, there is no "group by" function or list to keep the attributes. I want to fanout the Shapes by fme_feature_type in the writer, but this values isn't forwared as well.

 

 

I tried accessing the public parameter SourceDataset_SHAPE_X after the transformer, but that one is the same for every Shapefile in my directory, so it doesn't help either.

 

 

Any thoughts on how to forward attribute values after a transformer which retains the values?

 

 

Kind regard

 

Thomas

 

 

Best answer by thomask

Just to let you know that the problem is solved.

 

 

The MultiLayerAreaGeneralizer is a Custom transformer which uses an AreaBuilder. In that, the group by function had to be added by the attribute fme_feature_type or whatever attribute should be kept. With that, it forwards the attributes without problems.

 

 

Kind regards

 

Thomas

 

View original
Did this help you find an answer to your question?
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.

Forum|alt.badge.img
  • August 7, 2014
Just to let you know that the problem is solved.

 

 

The MultiLayerAreaGeneralizer is a Custom transformer which uses an AreaBuilder. In that, the group by function had to be added by the attribute fme_feature_type or whatever attribute should be kept. With that, it forwards the attributes without problems.

 

 

Kind regards

 

Thomas

 


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