1

I have a shapefile that contains districts (polygons) of a country. I added centroids to each district in order to create Voronoi poylgons around them. On this new layer, the outlines of the Voronoi polygones divide some of the districts into two when merging the layers. For example:

first half of district 1 belongs to Voronoi polygon 1 second half of district 1 belongs to Voronoi polygon 2

However, I would like to merge both layers in which each district belongs to one Voronoi polygon only based on the highest procentual overlap. For example:

district 1 belongs to Voronoi polygon 1 because it has a 70% overlap with Voronoi polygon 1 and only 30% with Voronoi polygone 2.

How can I fix this?

1 Answer 1

1

Go to Plugins -> Manage and Install plugins -> search for mmqgis -> install. Then go to MMQGIS in the tab bar, it might be between Processing and help, click on it, go to Combine -> Spatial Join. Here you can put in your layers and change the Field operation to Largest proportion

2

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.