What does the "Blank Attribute Value" do? I am having a hard time finding it in the docs...
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.
I've requested the documentation team take a look at this and add this information to the help files.
What I believe it means is as follows...
The SchemaMapper uses a table of lookups, like this:
Old Attribute Name
Old Attribute Value
New Attribute Name
New Attribute Value
myOldAttribute
1
myNewAttribute
Road
myOldAttribute
2
myNewAttribute
Railway
myOldAttribute
myNewAttribute
Unknown
So, if myOldAttribute has a value 1, it is mapped to a new attribute (myNewAttribute) with a value Road. The question is, what happens if the old attribute is blank (null or empty).
If Blank Attribute Value is set to Ignore, then the feature won't get myNewAttribute at all.
If Blank Attribute Value is set to Don't Ignore, then it will get myNewAttribute with the value Unknown.
In short, Blank Attribute Value tells FME whether to use or ignore features that have an empty value for the source attribute value.
At least, I'm about 95% certain that's what it does. If you find differently, do please let me know!
I've requested the documentation team take a look at this and add this information to the help files.
What I believe it means is as follows...
The SchemaMapper uses a table of lookups, like this:
Old Attribute Name
Old Attribute Value
New Attribute Name
New Attribute Value
myOldAttribute
1
myNewAttribute
Road
myOldAttribute
2
myNewAttribute
Railway
myOldAttribute
myNewAttribute
Unknown
So, if myOldAttribute has a value 1, it is mapped to a new attribute (myNewAttribute) with a value Road. The question is, what happens if the old attribute is blank (null or empty).
If Blank Attribute Value is set to Ignore, then the feature won't get myNewAttribute at all.
If Blank Attribute Value is set to Don't Ignore, then it will get myNewAttribute with the value Unknown.
In short, Blank Attribute Value tells FME whether to use or ignore features that have an empty value for the source attribute value.
At least, I'm about 95% certain that's what it does. If you find differently, do please let me know!