5

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.

Kadir Şahbaz
78.6k57 gold badges260 silver badges407 bronze badges
asked Jan 19, 2021 at 8:21
2
  • Are you referring QGIS? Commented Jan 19, 2021 at 8:24
  • $area calculates the area of the current geometry. Commented Jan 19, 2021 at 8:30

2 Answers 2

7

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)))))
answered Jan 19, 2021 at 9:52
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

answered Jan 19, 2021 at 8:50
1
  • Thanks! That was way easier than I made it out to be. Commented Jan 19, 2021 at 8:54

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.