I have a set of hubs and spokes and want to connect each spoke to its three nearest hubs. I used the distance matrix method (Returning Multiple Nearest Neighbors) and now I have a (MultiPoint) shapefile that looks like this:
For each BezirkNr (spoke) I have 3 entries KnotenNr (hub) with their respective distance. Now I would like to draw a line between each of these pairs to get a shp-file in the end. I have been trying with Join by lines (hub lines) and MMQGIS (hub) but haven't been able to find a method to connect all 3 entries of each BezirkNr.