Skip to main content
Solved

Combining Field Names with Field Values and then concatenate them.


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
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.

4 replies

fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • August 19, 2013
HI,

 

 

How about the ListExploder to flatten the data ?

  • Author
  • August 19, 2013
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
Contributor
Forum|alt.badge.img+19
  • Contributor
  • Best Answer
  • August 19, 2013
Hi Ali,

 

 

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

 

Attribute To Expose: _attr_list{}

 

 

Takashi

  • Author
  • August 19, 2013
Thanks Takashi,

 

 

I was just missing Brackets....{}

 

 

Regards.

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