QGIS – How to Join Attributes of Polygons Based on Location

attribute-joinsqgisselect-by-locationspatial-join

I have two large polygon data-sets. One highlights the building footprints for a county and the other highlights the parcel boundaries for the same county. Some parcel polygon features have multiple building footprint polygons that are within the boundary of the parcel polygon. I want to take each individual building footprint polygon feature and join the parcel ID number to each building footprint feature that lies within the larger perspective parcel polygon feature it's located in. The actual exported feature I want in the end are the building footprint features with the parcel ID # in the attributes.

Best Answer

The tool you need is under: Vector/Data Management Tools/Join Attributes by Location

This algorithm takes an input vector layer and creates a new vector layer that is an extended version of the input one, with additional attributes in its attribute table. The additional attributes and their values are taken from a second vector layer. A spatial criteria is applied to select the values from the second layer that are added to each feature from the first layer in the resulting one.

enter image description here

Related Question