I need to select the closest (and only the closest) lines to a point in QGIS. The lines may belong to different layers. The idea is to be able to combine the selected lines to form the smallest polygon that contains the point used to select the lines. This is an example of my situation:
The yellow point is the one i should use to make the selection; the lines can be blue, red, yellow, green or black, and they may belong to different layers. I tried the NNJoin plugin, but it doesn't work for me. Also the Nearest Neighbor tool doesn't work (it returns a List Index Out of Range error).
Does anybody have a suggestion?