I have cadastral map loaded as a pink vector layer in QGIS. Then I have another vector layer that contains residential houses (purple polygons).

I would like to create a new layer with areas containing houses. How can I do that in QGIS?

Illustration of the situation is depicted below enter image description here


1 Answer 1


Open the Processing Toolbox and search for the "Extract by location" tool.

Choose your cadastral layer as "Extract features from", "contain" as geometric predicate and your houses layer as "By comparing with features from":

enter image description here

Run it and done. You will get a new layer containing only the cadastral features which fully contain at least one house.

  • Thank you MrXsquared, that was what I nedeed.
    – Vilem
    Commented Aug 26, 2021 at 16:41
  • 3
    @Vilem As a new user, please be adviced that this side tries to avoid "thank you" messages. Instead, it encourages you to accept the answer and/or upvote it: click the checkmark right to the answer to accept it - see: gis.stackexchange.com/help/someone-answers Just click the checkmark, see here: meta.stackexchange.com/questions/5234/…
    – Babel
    Commented Aug 26, 2021 at 17:01

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.