Skip to main content
Tweeted twitter.com/StackGIS/status/1218186335367966720
Structured, Two tags added, Tag deleted, Title adjusted
Source Link
Taras
  • 35.9k
  • 7
  • 77
  • 153

QGIS how to calculate Calculating polygon attribute based on intersection with grid in QGIS

I'm a QGIS newbie and trying to use QGIS to profiling polygons in a layer. let's say now thereThere is also another grid layer, each grid contains its own demographics information.

enter image description hereexample1

Assume the demographics are evenly distributed within the same grid. Therefore, I'm deriving the value for any demographic attribute of an outlet by summing the sections in different grids weighted by the area. and the calculation for area A, for instance, population, would be:

enter image description hereexample2

I know I can use the clip to have the intersects layer, use the field calculator to get the areas and then calculate the population for A1 and A3 separately. My question is how I

How could I aggregate the sum population and add the population back to area A in the original polygon layer?

Thank you!

QGIS how to calculate polygon attribute based on intersection with grid

I'm a QGIS newbie and trying to use QGIS to profiling polygons in a layer. let's say now there is another grid layer, each grid contains its own demographics information.

enter image description here

Assume the demographics are evenly distributed within the same grid. Therefore, I'm deriving the value for any demographic attribute of an outlet by summing the sections in different grids weighted by the area. and the calculation for area A, for instance, population, would be:

enter image description here

I know I can use clip to have the intersects layer, use field calculator to get the areas and then calculate the population for A1 and A3 separately. My question is how I could aggregate the sum population and add the population back to area A in the original polygon layer?

Thank you!

Calculating polygon attribute based on intersection with grid in QGIS

I'm trying to use QGIS to profiling polygons in a layer. There is also another grid layer, each grid contains its own demographics information.

example1

Assume the demographics are evenly distributed within the same grid. Therefore, I'm deriving the value for any demographic attribute of an outlet by summing the sections in different grids weighted by the area. and the calculation for area A, for instance, population, would be:

example2

I know I can use the clip to have the intersects layer, use the field calculator to get the areas and then calculate the population for A1 and A3 separately.

How could I aggregate the sum population and add the population back to area A in the original polygon layer?

Source Link
HanRF
  • 95
  • 5

QGIS how to calculate polygon attribute based on intersection with grid

I'm a QGIS newbie and trying to use QGIS to profiling polygons in a layer. let's say now there is another grid layer, each grid contains its own demographics information.

enter image description here

Assume the demographics are evenly distributed within the same grid. Therefore, I'm deriving the value for any demographic attribute of an outlet by summing the sections in different grids weighted by the area. and the calculation for area A, for instance, population, would be:

enter image description here

I know I can use clip to have the intersects layer, use field calculator to get the areas and then calculate the population for A1 and A3 separately. My question is how I could aggregate the sum population and add the population back to area A in the original polygon layer?

Thank you!