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.


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.