I have two sets of polygons. One contains villages, the other farming areas.
There can be several farming areas in one village. Crucially, there can be cross-village farming areas.
My approach to get the area of all farming areas per village was this:
- save both shapefiles in EPSG:3857 projection (pseudo-Mercator)
- fix geometries
- clip (farming areas to my villages)
- intersection (to cut the farming areas by the village borders)
- calculate the area in square meters via the attribute table ($area)
- join attributes by location (summary) - the sum of the field square meters
Now, this is overall rather cumbersome. Is there an easier way to get to the result?
The problem: the resulting sum of areas is wrong. In (6) I tried different types of intersection (intersect, overlap, contain), but none resulted in the equivalent to what I can add up manually?
Maybe somebody sees an obvious mistake here? Otherwise, I can try to upload data for testing.
Edit:
To further specify: The main issue for this case was that the villages are directly adjacent and farms can cross borders.