[GIS] QGIS: graphical-modeler to calculate area of polygons

areafield-calculatorqgis

I'm trying to calculate the area of polygons using the field-calculator in QGIS (2.0.1). If I do this manualy it works fine, but if I do this using the graphical-modeler I get NULL as area for every Polygon. I just typet $area in the Formula field. Field-type is integer and length is 10.

Best Answer

The Field Calculator is not working within the modeller, but the Advanced Python Field Calculator is doing the job: value = $geom.area()

Related Question