I am building a plugin in QGIS 2.14 that takes a selection of lines and creates one followong the path of those lines already selected.
My issue is that the traditional selection does not respect the order we selected the features. I saw one topic talking on this here : Get features in order they are selected using QGIS but I didn't manage to implement it. Do you guys have an example of a code using it, as the need is :
- Select the features from the map
- Click on the plugin button to peform the operation