3

I am trying to calculate the area of each patch of a vector on the total area of all my vectors (sum of each area) with the following "area" / "totalarea" but then it returns 0, why?

enter image description here enter image description here

2 Answers 2

5

Change Output field type to Decimal number (real).

You have set the Output field type to integer. Thus 0,00001713... (as can be seen in the Preview) will be rounded to 0.

3
  • Hi, it does not work :(
    – Robagb
    Commented Feb 11, 2022 at 15:50
  • What are the units of the two fields?
    – LM10
    Commented Feb 11, 2022 at 16:00
  • 2
    @Robagb what did not work? What did you try?
    – Babel
    Commented Feb 11, 2022 at 16:40
0

I solved this issue by just adding 10 to the precision.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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