I have a problem with a fixed layer.

I have to count accident by Link within 100m area.

When I use a Fixed Distance Buffer, there is a problem because some area is overlayed so they will count 1 accident to 2.

So I used the Node Tool.

I want to know is there any automatic way for this solution?

Key: All of the layers must not be overlayed.

enter image description here

1 Answer 1


You can use v.distance from the GRASS tools to get the nearest road link to each accident point. The tool also lets you set a maximum distance (in your case 100m). This should give you lines from the points to the lines with ids for each. Now join the result to the accident attribute table and you should have what you need.

There are also some good pointers on how to use the tool in this question/answer

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.