Skip to main content
Solved

Weird SchemaMapper behavior

  • November 29, 2012
  • 1 reply
  • 7 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
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.

1 reply

sigtill
Contributor
Forum|alt.badge.img+24
  • Contributor
  • 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

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