0

I'm new to Python and made a relatively simple expression to base the height of the 2.5D layer buildings off of the number of stories they have and it works as intended, however I have several features that don't have the number of stories and their values are NULL but whenever I try to add the nullif argument after this code:

relation_aggregate(relation:='building', aggregate:='sum',expression:="number_of_str")* 3

it gives me this error

syntax error, unexpected NAME, expecting end of file

What expression can I use to fix my problem?

1
  • What does the final expression you are using look like?(with nullif argument) Commented Oct 10 at 7:05

0

Your Answer

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

Browse other questions tagged or ask your own question.