Hello, I am looking to use attribute value mapper ( or another transformer etc) to map from multiple input attributes (VEG_SBOIS) and (CLASSE) to a single output attribute (SURF_COVER)
see below screenshots for example
I have tried using a tester with left value filled in and operator “attribute has a value” but it doesnt work perfectly since im only looking to map certain input values (not all ) to different output values.
any help is appreciated,
thanks,
Curtis
Best answer by bwn
Hi Curtis,
As an aside, Windows screenshot snipper shortcut is Windows Key+Shift+S . No phone camera required! 😉
To interpret what trying to do, is it that you only want to map some of the values, but all other values should remain the same? If by default want to carry the original value over to the new Destination Attribute without change, then set the “Default Value” parameter equal to the Source Attribute value.
Then only put values that want to change in the Value Map. In your screenshots, if you have some values mapped to a blank string, then the output will be a blank string. If this is not what is wanted, remove these entries from the Value Map, and instead the Destination value will become the Source Attribute value by the Default Value setting.
To map two separate Source Attributes to one destination attribute there are a couple of approaches, and it depends on what priority you wish to give to Features that may have two conflicting values to map.
A general approach would involve a TestFilter or Tester(s)
Using TestFilter allows to create different Sets of Features to go to different AttributeValueMapper logic
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.
As an aside, Windows screenshot snipper shortcut is Windows Key+Shift+S . No phone camera required! 😉
To interpret what trying to do, is it that you only want to map some of the values, but all other values should remain the same? If by default want to carry the original value over to the new Destination Attribute without change, then set the “Default Value” parameter equal to the Source Attribute value.
Then only put values that want to change in the Value Map. In your screenshots, if you have some values mapped to a blank string, then the output will be a blank string. If this is not what is wanted, remove these entries from the Value Map, and instead the Destination value will become the Source Attribute value by the Default Value setting.
To map two separate Source Attributes to one destination attribute there are a couple of approaches, and it depends on what priority you wish to give to Features that may have two conflicting values to map.
A general approach would involve a TestFilter or Tester(s)
Using TestFilter allows to create different Sets of Features to go to different AttributeValueMapper logic
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.