[GIS] QGIS 2.18.4 – Select by location returns no selection

qgisselect-by-location

I have a point layer (green points) and a polygon layer (orange line) which a number of the points fall within.

I have double checked and both layers are in the same CRS.

enter image description here

I have tried multiple functions in the normal 'select by location tool', within, intersect etc but the tool runs and returns no selection.

I have also downloaded the 'Select Within' plugin. This also does not work giving me the error below.

enter image description here

I am at a loss as to why the select by location tool returns no results and also do not understand the error generated by the 'Select Within' plugin.

Best Answer

Both the standard tool and the plugin iterate over all features in the input layers. From the error, "AttributeError: 'NoneType'" is pointing to one or more of your features not having geometries.

Try zooming to the layer extent, selecting all visible features and delete features that aren't selected (have no geometries).

Related Question