So I have a point layer whose attributes I am trying to join to a line layer. I know you can use both the NNJoin plugin and the Join Attributes by Nearest tool in QGIS to perform a spatial join if the layers do not touch or overlap. However when I use NNJoin, the new layer has 40,037 rows while when I use Join Attributes by Nearest the new layer has 138,738 rows. I am curious as to why this is happening and if people prefer to use one tool over the other. Here are the settings I used.
So I figured out that each traffic point actually has another point beneath it. One point represents northbound data and the other represents southbound data. When you use NNjoin, only the north bound data is joined while when you use Join Attributes by Nearest both points are joined.
Therefore, I am going to use Join Attributes by Nearest since both points are included and you can set a maximum distance, which I need to do for this data. When I use NNJoin streets far away were joined to non-relevant traffic data.