I have a bunch of points and line that represents a boarderline as shown below:

enter image description here

I want to delete all the points one the right side of the line, and letting the points in the left side stay. I dont know how to do that without being a polygon with closed paths. I have tried to use spatial query, but its only working with polygons as far as I know. What can I do?

  • 1
    There's probably a complicated way to do exactly what you're asking for, but wouldn't it be easier to just convert the border line into a polygon?
    – csk
    Commented Jun 27, 2018 at 19:20

1 Answer 1


You could run a single sided buffer on the line, with a sufficiently large buffer size to cover all the points to the right. This will get you a nice polygon covering the points you want to delete, which you could then use with the "Select by Location" algorithm to select the intersecting points. Then delete the selected points.

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.