2

I have a created list that has the same road name but several separate segments. These have been sorted using the length of road lines (with ListSorter). The list index inside () shows the order of the roads according to their lenght. I need to save this list index as an attribute. How can I save the list index as an attribute?

enter image description here

2 Answers 2

1

If I understand correctly, you want to have the attributes of the listelements with index = 0?

You can do this using an AttributeCreator: gid = _list{0}.gid etc

AttributeCreator Parameters

1
  • I want to create new attribute "list_index" which has value "0" in this case
    – Mickeler
    Commented Sep 11, 2020 at 9:05
1

ListExploder solve my problem. It creates "_element_index" where is that needed index number.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.