Skip to main content
Question

How to add data to new field ?

  • January 30, 2020
  • 5 replies
  • 216 views

geo-x
Contributor
Forum|alt.badge.img+5
  • Contributor

Hello everybody.

I'm using FME for create an object with the transformer AttributeManager, but I would like to add values in each new field. Whait i the good transformer for that ?

Thanks for your help.

5 replies

oscard
Influencer
Forum|alt.badge.img+21
  • Influencer
  • January 30, 2020

The AttributeManager has a column named "Value". There you can add value to each of your new fields.


geo-x
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • January 30, 2020
oscard wrote:

The AttributeManager has a column named "Value". There you can add value to each of your new fields.

Yes but only one data per column no multiple values


oscard
Influencer
Forum|alt.badge.img+21
  • Influencer
  • January 30, 2020
geo-x wrote:

Yes but only one data per column no multiple values

We are going to need more info to help you. Does that value depend on the value of another field? Otherwise, you will need to merge your current data with the source of those values.


geo-x
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • January 30, 2020
oscard wrote:

We are going to need more info to help you. Does that value depend on the value of another field? Otherwise, you will need to merge your current data with the source of those values.

No, it's only new values.

For exemple, I've a CSV file like this :

code | libelle

30 |zehfuzufeh

40 | zujzjedodizje

I create the fields code and libelle and after I need to integrate the informations.


oscard
Influencer
Forum|alt.badge.img+21
  • Influencer
  • January 30, 2020
geo-x wrote:

No, it's only new values.

For exemple, I've a CSV file like this :

code | libelle

30 |zehfuzufeh

40 | zujzjedodizje

I create the fields code and libelle and after I need to integrate the informations.

Then I guess you need to add your CSV to the workspace using the CSV Reader.

Instead of using an AttrbiuteManager, you have to merge your data with the data from that CSV using a FeatureJoiner or FeatureMerger. That is possible if both source of data have a field or a combination of several fields in common.


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