Skip to main content
Solved

Combining Field Names with Field Values and then concatenate them.

  • Aug 19, 2013 11:00 AM UTC
  • 4 replies
  • 157 views

Hi Fmrs,

 

 

We are in the process of converting CAD data into ArcGIS plateform and for that we are using FME Beta 2014 Trial version.

 

 

As in the process, we encounter numerus attributes (from CAD and User Enterd data into Tables). to clean up the data we need to somehow get rid of these attributes, but somehow also retain them (if the need arise). For that I was thinking to create an attribute in which I would like to put all (or most) of the attribure as comma seperated key:value list.

 

 

So far i've come to the point where I can create a list containing all the Attributes as Name and Value.... using AttributeExploder and Keep Geometry to YES, Keep Attributes to No and Exploding type to List, and giving it a list name...

 

 

So far so good...... in Data inspector I can see the list and all the values..... but after that I'm lost. Iused AttribureExposer... but no use.

 

 

Maybe by using ListConcatinator we can combine the Attribute Names and Attributr Values, But the problem is that the list is not exposing itself so thst we can work on it....... any Idea?

 

 

Regards,

 

Ali.

Best answer by takashi

Hi Ali,

 

 

I think the AttributeExposer with this setting will expose the list.

 

Attribute To Expose: _attr_list{}

 

 

Takashi
View original
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.

4 replies

fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • Aug 19, 2013 11:24 AM UTC
HI,

 

 

How about the ListExploder to flatten the data ?

  • Author
  • Aug 19, 2013 11:34 AM UTC
Hi Itay,

 

 

It might not what I want, I want to concatinate, not sagrigate.....

 

 

But the problem lies in that the list shows in Data inspector but not when I apply another Transformer (ListConcatinator), it didnt recognize the list attribute (_attr_list).

 

 

Regards,

 

Ali

takashi
Celebrity
  • Best Answer
  • Aug 19, 2013 12:15 PM UTC
Hi Ali,

 

 

I think the AttributeExposer with this setting will expose the list.

 

Attribute To Expose: _attr_list{}

 

 

Takashi

  • Author
  • Aug 19, 2013 12:28 PM UTC
Thanks Takashi,

 

 

I was just missing Brackets....{}

 

 

Regards.