Overlapping polygons: how to sum attribute values for areas where multiple polgons ov

المشرف العام

Administrator
طاقم الإدارة
I have what seems to be a fairly simple problem but I cannot find a solution. Any help would be much appreciated.

I am working in QGIS 2.8.1.

I have a shapefile of polygons, each of which has a unique ID and a count value that represents a point count within that polygon. Many of the polygons overlap.

My question is: where these polygons overlap, how can I get the count value to reflect the sum of the count values of all polygons that overlap that area (there are often more than 2 overlapping polygons).

Ideally I would like to split the polygons where they intersect with each other and create a new table with a row for each polygon section and the corresponding point count value. The point count value would equal the sum of the point count values from all the polygons that overlap that area.

For example, in the picture below, if the 3 polygons have count values of 1, 2 and 4, I'd like the yellow highlighted area to have a count value of 7.


I have explored the intersect and union tools (using the shapefile as both the 'input' and the 'intersect' layer) but this only ever returns the intersection/union of two polygons. i.e. I get the intersection of A with B, and for B with C but not for A,B and C. And as far as I can tell there is no logic (without looking at the map) to determine whether A, B and C do indeed overlap.

Any thoughts would be really appreciated.Many thanks



أكثر...
 
أعلى