4

Whenever I click the Field Calculator in the attribute table, I am prompted to created a script in order for it to calculate the area of a polygon. However, I do not want to use code in obtaining a simple area measurement.

I have searched everywhere and cannot find a solution for this. Any idea how to just obtain a simple area measurement for a polygon (without creating a script)?

1 Answer 1

11

There are two tabs under the field calculator - Expression and Function editor, i suppose you're referring to the function editor tab which requires coding skills.

If you stay on the Expression tab you just have to create a new field and use the following expression :

area(geometry)

To calculate the area of the current feature.

2
  • 4
    Alternatively, you can use $area to calculate the area (ellipsoidal measurement) vs. planimetric measurement of area ($geometry)
    – Babel
    Jul 13, 2021 at 18:08
  • 3
    The weird thing in the question is that the default displayed tab should be the expression tab ... not the other ...
    – Snaileater
    Jul 13, 2021 at 18:27

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.