Geographic Information Systems Asked on November 1, 2021
I have two layers and I want to join the attribute of them together in QGIS. Unfortunately, the overlapping layer (The Blue one) ist not very precicse, 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 overlaping 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 dont 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?
The "Join Attributes by Location" algorithm from the Processing Toolbox has a switch to do exactly this:
Answered by ndawson on November 1, 2021
In qgis there is a plugin called select by centroid. But building on that I developed my own model to join based on the layer centroids by converting the layer to centroids and then join that table... Works a treat
Answered by Christian Leidersdorff on November 1, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP