0

I try to use CASE expression in my data defined properties, like this:

CASE WHEN  "ASULKM1999" > 100000 THEN 5 END

ASUKASLKM is population information and "5" will be size of point symbol. However, when I click ok/apply, QGIS will turn this expression to funny, like

CONDITION:
- WHEN ASULKM1999 > 100000 THEN 5

And nothing happens. Sometimes result is "(no root)".

Is this a bug / feature or am I doing something wrong? Using QGIS 2.1 master on Win and Ubuntu.

Rgs

P

Add some snapshots:

Start from here:

Start from here:

Define expression for Size-property:

Define expression for Size-property

Expression seems to be allright:

Expression seems to be allright

Click ok and then re-opening Data Defined properties:

Re-opening Data Defined properties

Expression is quite odd:

Expression is quite odd

  • Where does it change the text. Can you post a screen shot? – Nathan W Nov 12 '13 at 13:28
  • Wow that's a bit strange. I'll take a look. – Nathan W Nov 12 '13 at 22:25
  • Ok seems like a bug in 2.1 but 2.0 is ok. – Nathan W Nov 12 '13 at 22:55
  • Oops, I didn't check this on older version. Should I wrote a bug report or is this already fixed? – posiki Nov 13 '13 at 9:20
  • 1
    All good. I just fixed it. – Nathan W Nov 13 '13 at 10:37
1

This was bug in QGIS 2.1 (master). Will work on version 2.0.

Fix is under a construction.

P

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.