I have a layer of approximately 2M point features from which I need to create a second layer, only including the points that are not within (or bordering on) a set of polygons that are saved in another layer.

Can QGIS handle this? Extract by location seems to only include options if you want to keep the points that are within other polygons.

I'm using QGIS 3.14


2 Answers 2


The tool you are looking for is Processing > Toolbox > Vector selection > Extract by Location, using the Disjoint option:

enter image description here

The Help page describes the tool quite well.

  • This is new, or did I really forget about it?
    – Erik
    Commented Aug 25, 2020 at 6:16
  • 1
    I keep a copy of 2.18, and disjoint is also available there.
    – Stu Smith
    Commented Aug 25, 2020 at 15:08

You could use the select by location tool, select all points within the polygons and then reverse the selection. Though I don't know how the tool handles datasets this large.

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.