Hello everyone I got a little lost in this problem, I have three columns segment, direction.
I would like to obtain another order column which will be incremented in the event that we have a change either on the segments or on the direction, I tried to give you an example which explains the situation, thank you in advance
Best answer by redgeographics
This is how I've solved it:
Use an AttributeCreator to create an attribute "order" and set its value to 1
Set up the AttributeManager with the Advanced Attribute Handling to look at the attributes of the previous feature.
Set up a Conditional Value for the attribute order: if the value of Section or Direction of the previous feature is different to the one on the current feature the value for order on this attribute is 1 more than on the previous feature.
Hope this helps!
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.
Use an AttributeCreator to create an attribute "order" and set its value to 1
Set up the AttributeManager with the Advanced Attribute Handling to look at the attributes of the previous feature.
Set up a Conditional Value for the attribute order: if the value of Section or Direction of the previous feature is different to the one on the current feature the value for order on this attribute is 1 more than on the previous feature.
Use an AttributeCreator to create an attribute "order" and set its value to 1
Set up the AttributeManager with the Advanced Attribute Handling to look at the attributes of the previous feature.
Set up a Conditional Value for the attribute order: if the value of Section or Direction of the previous feature is different to the one on the current feature the value for order on this attribute is 1 more than on the previous feature.
Use an AttributeCreator to create an attribute "order" and set its value to 1
Set up the AttributeManager with the Advanced Attribute Handling to look at the attributes of the previous feature.
Set up a Conditional Value for the attribute order: if the value of Section or Direction of the previous feature is different to the one on the current feature the value for order on this attribute is 1 more than on the previous feature.
Hope this helps!
Did not see your reaction when i posted. Just curious, why use an AttributeManager?
It is rarely my preference to use the AttributeManager, but maybe I should change my mind.
I like to see where attributes are removed, filled, keeped or renamed so I tend to use these more.