Hot answers tagged

1

You can create a virtual layer that will join the two layers and apply the desired filtering. go to the menu Layer > Add Layer > Add/Edit Virtual Layer... and enter the query SELECT pt1.id, pt2.id, ROUND(MIN(ST_Distance(pt1.geometry, pt2.geometry)),2) AS distance FROM point_layer_1 AS pt1, point_layer_2 AS pt2 WHERE pt2.year_column BETWEEN pt1....


Only top voted, non community-wiki answers of a minimum length are eligible