Skip to main content
Question

How to Convert an int attribute to string so I can concatonate with aggregator?


Forum|alt.badge.img

Im using an aggregator to merge some features and some of the fields are integers but I wish to concatenate them like strings, i.e 12,24,106

When I attempt this in the aggregator it has an error as the attribute it is writing the concatenated value back to is number format.

How can I change the type of these attributes to string before they enter the aggregator?

Seems I can find plenty about converting string to int but not much the other way around.

Thanks for the help

2 replies

Forum|alt.badge.img
  • Author
  • July 15, 2016

never mind, I think I was just using the string formatter wrong earlier, would remove this if I knew how.


Forum|alt.badge.img+5

Can you tell us what the error message is? I've tried this without problem and, in general, FME doesn't care about the attribute type in operations like this.


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