I try to join attributes between two different line layers.
The first line layer (data source) is given. The second line layer is consisting of filtered lines from first layer, created by python code.
I want to have the same attributes in filtered lines as in basic layer. I was trying to use NNJoin plugin, but unfortunately it is giving me wrong data. The example below.
My question is: how to join the attributes properly and why this plugin is giving me the uncorrect results?
I am using QGIS 2.14.3 as well as python.