I have lots of points representing buildings, scattered on top of polygons representing output areas of a city. I'd like to select only those points that have a certain descriptor in their database, and make a new layer with them.

This is done a number of times with a view to then counting how many buildings of each category are in each output area. I think I'm going to use a spatial join for that.

  • 2
    You can select by an attribute on your point layer. Then select the layer in the table of contents, right click choose save as, give a new name and specify to save only selected features Commented Jul 28, 2016 at 16:47

2 Answers 2


You almost described the steps necessary to create the new layer: Open the attribute table for the point layer and choose the option 'Select features using an expression'. In the new window you can enter an expression like "column_name" = 100 (or choose the wanted column from "Fields and Values") and press Select.

After that right-click on the layer and choose "Save As...". Make sure that you select the "Save only selected features" in the save dialog.

For the calculation of the number of buildings inside the output areas have a look at the "Count points in polygon function" from the vector tools.


If you're going to do this often, you could also consider making a model from the Processing Toolbox which would automatically select features based on an expression you provide and save the selected features in one go:


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.