I want to select all the items within a circular buffer. Inside the buffer are multipolygons and multipoints. See the screenshot i have posted.

enter image description here

  • 1
    how are you defining the buffers? are they based on a point layer, or precomputed? or do you want to select by hand using a radius? all are possible – Ian Turton Dec 22 '15 at 13:20

You need to select points and polygons separately.

In order to select points:

  1. Use Vector > Spatial Query *
  2. In Select Source features from : select your points layer (to be selected)
  3. Where the features : select Contains
  4. Reference features of : select your buffers layer
  5. Click Apply
  6. Points included in buffers are now selected (you can save this selection as a new layer or apply specific symbology or do anything you want with them...)

Do the same for your polygons layer. If you want to select polygons that are partially included in buffers, you will then choose the Ìntersectsoption forWhere the features`option of the plugin.

(*) if not available in your QGIS, install Spatial Query Plugin through Plugins > Manage and Install Plugins...

  • Is there a way you can see the spatial query that is used by vector? – L. Grunn Dec 30 '15 at 12:45
  • The spatial query result is displayed directly in the map canvas (selected features are colored differently). – wiltomap Jan 4 '16 at 12:00

Yes there is. It can be done with the spatial query plugin. Once enabled, go to Vector ‣ Spatial Query ‣ Spatial Query and follow the wizard.

  • @Stefan: I answered accurately mentionning this plugin. – wiltomap Dec 22 '15 at 13:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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