1

I have 2 polygons that i wish to combine into one layer, in QGIS.

on the first layer (neighborhoods) i have bigger areas (that divide a city to 7 major areas, or smaller neighborhoods). neighborhood layer that i wish to intersect with a second layer (statistical areas) that is built of smaller polygons- this layer holds population numbers and other data. statistical area layer- has more polygons when I perform intersect, from the second layer i get duplication of the areas, so that each smaller area can show in one or two of the larger areas. i want to perform this combination, while either:

1) setting a rule that each of the smaller area will be associated only with one of the bigger areas, the one that the majority of the polygon is in

or

2) create the same intersection with the duplication but that an attribute of my choice (population number) will be divided relatively to the size of the area that is relevant to the bigger area (under the assumption that the population is equally distributed)

asked May 6, 2019 at 17:10

1 Answer 1

1

This method should let you achieve your first option, "each of the smaller area will be associated only with one of the bigger areas"

  1. Select the sliver polygons using the "select features by expression" tool, with the expression $area < threshold. Substitute a minimal area value where the expression says "threshold".

  2. Use the tool "eliminate selected polygons" to dissolve the slivers into nearby adjacent polygons.


Your second option is more complicated, but doable. Have a look at the several questions on GIS SE about calculating values proportional to area, eg Calculate proportional area of polygon within another layer's polygon

Basically you'll use the Field Calculator to add an "old_area" field before you run the intersection, and add a "new_area" field after the intersection. Then calculate "new_area"/"old_area" and multiply by the field you want to scale.

answered May 6, 2019 at 19:00
1
  • hi, thank you for the answer but i am afraid that have not been clear about the data that i wish to combine. so i will add 2 photos to the question it self to make it more clear. i wish that in the second layer that i wish to add even if a small area intersect with 2 areas it will be associated only with one of them. Commented May 7, 2019 at 5:40

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.