3

In QGIS 3.30 I have a set of polygons, being farm boundaries. I have another set of building polygons comprising various features within the farms.

I would like to get a table listing all building polygons with the farm that they fall in as an attribute. This will allow me to determine the total buildings per farm as well as the total building area by farm.

I have tried the Intersection tool but it only returns a single feature.

2
  • This is unclear: Do you want to know, how much space buildings take up within each farm, and how many buildings there are? Or do you want to know, which farm each building is situated in?
    – Erik
    Commented Mar 20, 2023 at 12:09
  • Please, do not forget about "What should I do when someone answers my question?"
    – Taras
    Commented Jul 29 at 7:53

2 Answers 2

5

If I have understood you correctly then here is a GIF showing you how I would do this using the Join attributes by Location tool:

enter image description here

Here is a screenshot as the GIF isn't the clearest:

enter image description here

0
3

If I understand your question correctly, the 'Join attributes by location' function will work for you.

1
  • Both the 'Join by Attributes' & 'Intersection' tools worked for this query. However, they both create a new layer. I wish to add an attribute from the Overlay layer into the existing Input layer where my features are. Is there an option to do this?
    – Norman
    Commented Mar 25, 2023 at 15:36

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.