I have two layers. First one consists of trees in a map, and second one consists of roads - polygons. I would like to select trees that are for instance 2m near the polygon.

Would you please give me a concept how to do that?

1 Answer 1


One way to do this is creating a 2 meter buffer in your polygon and intersecting your trees with it. Follow these steps:

  1. In Qgis, go to Vector -> geoprocessing tools -> fixed distance buffer
  2. Use the roads layer as input, set the distance (Be aware that the distance's units will vary depending on your projection)
  3. Run and wait the processing
  4. Use the buffer layer to make a select by location (Vector -> research tools -> select by location)

And that's it!

  • Projection should be any UTM-based projection, these are using meters as base unit. Otherwise no additions.
    – Erik
    Mar 9, 2018 at 11:47
  • Thanks a lot. Forgot to write earlier. It saved me so much time.
    – Peter
    Mar 13, 2018 at 6:58

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.