[GIS] Select polygons that contains points in a separate shp file

qgisselect-by-location

I am a very new QGIS user and have years of experience using the basic functions of ARCGIS. I am having trouble using the select by location feature in QGIS. I have a point layer with locations of a species. I also have a polygon layer that is a grid over a particular area. I need to select the grid squares that contain one or more species locations.

I have made sure both the point and polygon layers are in the same CRS. I have tried it with all of the points selected and none of the point selected. The result I keep getting is after a lot of thinking none of the grid squares are selected.

Best Answer

instead using Select by location try to use the Spatial Query core plugin.

Go in the plugin menu and activate it if you cannot see it. Spatial query is available in the Vector menu.

In the dialog window select your grid layer as source layer and the point layer as the reference layer:

enter image description here

and this is the result:

enter image description here

I hope this can help you!

Related Question