Skip to main content
Solved

Weird SchemaMapper behavior

  • November 29, 2012
  • 1 reply
  • 15 views

Forum|alt.badge.img
So I am using the schemamapper to batch map attributes from one format to another using a CSV. In the CreateAttributeMap screen I have it set remove the source attribute. When I run my features through, it appears that all the attributes in the CSV are being assigned to every feature regardless if they exist on the source and attaches them to the output feature as an empty attribute (which is why in my last post I asked about removing all empty attributes).

 

 

Has anyone else seen this behavior? Is there a setting in the schemamapper that tells it to only map attributes that exist on the source?

 

 

Using FME 2013 x86 b13187

 

 

Thanks,

 

Sean

Best answer by sigtill

If you add a visualiser after the SchemaMapper, can you then look at the attribute with the name: _schemamapped_rows (or something similar) and see if these are the correct lines from the CSV you want to have mapped on this feature?

 

 

If you submit the CSV and some example data and how you set up the workspace it will be easier to help
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.

1 reply

sigtill
Supporter
Forum|alt.badge.img+25
  • Supporter
  • Best Answer
  • December 3, 2012
If you add a visualiser after the SchemaMapper, can you then look at the attribute with the name: _schemamapped_rows (or something similar) and see if these are the correct lines from the CSV you want to have mapped on this feature?

 

 

If you submit the CSV and some example data and how you set up the workspace it will be easier to help