I have two layers and I want to join the attribute of them together in QGIS. Unfortunately, the overlapping layer (The Blue one) is not very precise, so there are parts that overlap on small areas.
If I join the attributes together (-> join type: intersects/one to many), I get multiple overlapping attributes. But i only want the attributes with the biggest overlapping area, which would be those:
If join the attributes together with the one to one method, I often get the attribute of the small overlapping parts, which i don't need/are wrong. I know I can get the mean attributes of all overlapping areas with the "Join Attributes by Location (summary)" function, which is partly a solution to my problem.
But what I really want is to only join the attribute with the biggest overlapping area. Any idea how to do this?
intersect
, calculate$area
for this intersect, thenjoin attributes by location
the intersect to your original yellowish layer and finallyselect by attribute
the geometry with the largest joined area for each geometry with an identical ID (provided, you have IDs on your yellowish layer in the first place).