I have created list which has same road name but several separated segment. These has sorted using length of road lines (ListSorter). The list index inside () shows length order which road segment has the longest. I need to save this list index as attribute. How to make that?

enter image description here


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

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

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, privacy policy and cookie policy

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