I have a shapefile A with a group of polygons, lakes.
Now I want to select the polygons(lakes) that are within a specific distance to a polygon in a second shapefile, B, with the polygon a city.

In other words, I am looking for something like ArcGIS "Select By Location" and "are within a distance of the source layer feature"

I tried Select by Location, and also Select by Radius, but didn't manage to get any of them to work.

1 Answer 1


One way to achieve this is to first buffer your city polygon and then use the Spatial query plugin with intersect.

Adding a "within a distance of" option would be a nice extra for the Spatial query plugin.

  • 4
    A strong +1 to your comment about adding the "Within distance of" option to the spatial query plugin. That seems like a basic facet that GIS software needs to be able to handle without first creating a buffer layer of your features. May 5, 2016 at 19:18

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.