4

I'm comparing several maps of one area (made by different people) to each other, and used intersection to find how much of specific selected features (polygons) overlapped. I soon realised that the intersection did not calculate the overlapping area. I have been told that the easiest way to find the area of the overlap is to do it using the "Field calculator" after the intersection, but I can't figure out how.

If anyone knows an easier way, I'm open to that as well.

3
  • Are you referring QGIS? – Nil Jan 19 at 8:24
  • $area calculates the area of the current geometry. – Erik Jan 19 at 8:30
  • Yes referring to QGIS! thanks:) – J.fu Jan 19 at 8:54
3

Use Menu Vector / Geoprocessing tools / Intersection, set the two polygon layers you use (named orange and blue in my case) as input and you get the intersecting area (outlined in red on the screenshot) as a output in a new polygon layer intersection. On this layer, open field calculator to calculate the area using either area ($geometry) or $area.

enter image description here

1
  • Thanks! That was way easier than I made it out to be. – J.fu Jan 19 at 8:54
6

As an addition to the solution above (@babel): you can do it also only with the field calculator, without doing the intersection with the processing tools. The expression is something like this one to get the area for the blue ones:

area(intersection($geometry,aggregate('orange','collect', $geometry, intersects($geometry, geometry(@parent)))))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.