I have seen tutorials for the 'Spatial Join' tool that allows me to summarize statistical data for overlapping polygons on two separate layers. But I simply want to append a 'String' attribute from an underlying layer to polygon features on an overlying layer.
Specifically: I have a layer of 'land uses'; and a layer of 'buildings'. I would like to attach the 'land use [string]' attribute for a particular 'land use' polygon (on the land-use layer) to all the buildings (smaller polygons on the 'buildings layer') that intersect with that specific land use polygon.
Can somehow tell me what tool or script to use with QGIS? (And how to use it.)
-
But after the spatial join, did you try merging the two fields?aldo_tapia– aldo_tapia2017年08月30日 17:43:56 +00:00Commented Aug 30, 2017 at 17:43
1 Answer 1
You can join whole attribute tables of both layers based on intersection of features with Join attributes by location from menu Vector -> Data Management Tools -> Join attributes by location
or from processing toolbox. As Attribute summary
set Takes attributes of the first located feature.
-
I never thanked you. But this is exactly what I needed!bpdronkers– bpdronkers2017年10月12日 21:41:01 +00:00Commented Oct 12, 2017 at 21:41
-
If you feel your question has been answered, then you should "accept" the answer by clicking on the check-mark.kl-higgins– kl-higgins2018年02月06日 22:53:19 +00:00Commented Feb 6, 2018 at 22:53