[Qgis-developer] Data defined symbol dimension: bug?

Giovanni Manghi giovanni.manghi at faunalia.pt
Tue Mar 11 11:49:51 PDT 2014


> Hi all.
> I noticed a strange behaviour in data defined symbol size. With this expression:
> ( year(  "data_inizio"  )-1985) /10
> I get the attached image1.jpg (labels are made with the same expression).
> With this one:
> ( year(  "data_inizio"  )) /100
> I get image2.jpg, also attached. Same scale. So size is calculated correctly, but
> displayed wrongly.
> Seems like a bug, right?

if I define an expression like

("column_int" -1985)/4+5

the preview is ok, but...

after re-opening the expression for the data defined size it shows as

"column_int" - 1985/4+5

the parentheses are gone and of course the result is much different
from the expected one...


cheers!


More information about the Qgis-developer mailing list