I use QGIS 3.2.3. I have two polygon layers "municipalities" and "landuse".
I want to update municipalities with the summarized area off landusepolygons within every municipality. landuse polygons do, in some cases, cross the borders of municipalities, in those cases I want only the intersection area in the calculation.
I can't find a way to do it with the build ind tools in QGIS. I have installed the plugin "refFunctions", but I can't figure out how to set it up.
A virtual layer with some sql would do it, I think. I can calculate the total area, but how do I get an summarized area for the landusepolygons in every municipality?