Is there a way to alter the data defined override expression? I have a points layer which I label with one of its attributes. The attribute table also comes with a field for an offset from point-value for correct displaying, but the format of this field doesn't work with the override on these two points:
- Datatype in the table is int, Override is looking for string
- Table values range from 1-9, Override is looking for 0-8 (and starts from top left quadrant, instead of bottom left)
I would like to avoid making a copy of the layer and alter the values, as this is a layer that I sync from an external source.
Here is the current expression:
Data defined override
Active: no (ctrl|right-click toggles)
Expected input:
int
[0=Above Left|1=Above|2=Above Right|
3=Left|4=Over|5=Right|
6=Below Left|7=Below|8=Below Right]
Valid input types:
string
Current definition ():
undefined
And this is what I would like it to be:
Data defined override
Active: no (ctrl|right-click toggles)
Expected input:
int
[7=Above Left|8=Above|9=Above Right|
4=Left|5=Over|6=Right|
1=Below Left|2=Below|3=Below Right]**
Valid input types:
int
Current definition ():
undefined
Best regards /Jeston