Skip to main content
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

 

 

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

 


Reply