I have a shapefile of points and a shapefile of polygons. I want to know WHAT points (not how many) fall inside EACH of the polygons of my multipolygon shp.

I thought the "Intersect" function was the best option to deal with this, but actually it seems that it is implemented to intersect only polygons with polygons. In fact if I try to run it I get an empty table.

I was wondering if any other function has been implemented to deal with this issue.

  • Did you try Within? – Ger Sep 12 '13 at 8:48

Contrary to original poster, the simple intersect function does work for capturing points in polygons, in newer version of QGIS (2.14.3-Essen). Using this method also gives you the attribute data common to both datasets as well. Cheers


go to>>>vector>>Analysis Tools>>>Points in Polygon option:enter image description here

I think this helps your question.If not tell me I will remove this answer.


As for Arun's answer above. I think given that the question has been asked twice in different form that there is some degree of unclarity.

If you want to select all points within an entire layer. For example I want to select all SAC's within AONB (Planning terms and designated areas...not important what they are just that they are all seperate entities on larger shapefiles). I would use vector > Spatial Query > Spatial Query. The table which appears allows me to select from contain, equals, within....etc. So i select within and it generates the resuslts. You can do a few things here but most likely you want to save the list as a layer. so click the button or come out and right lick the layer and save selction as.

if it is, for example, bird nesting grounds within the XYX AONB then i would specifically select each individual area which i am concerned with, and save as an individual layer and complete the task again. by selecting i mean query the layer or serch in the attribute table.

Is this close to an answer.


You can do that by using "Data Management tools > Join attributes by location" function (defining "intersect" option). This how you will get the values with which polygon every point intersects with. Later you can do statistics based on these values stored in the attribute table.

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.