I, I have 15 layers on which I want to do exactly the same operation add columns and calculate the area (–> $area)
I looked online and found some hints with batch processing tools, BUT I've got errors messages with the Python advanced field calculator and errors with batch processing tools… can someone helps me?
QGIS – Repeating $area Function on Multiple Layers for Area Calculations
pyqgisqgis
Best Answer
You can use pyqgis like this: