Bug report #15316
symbology offset based on expressions does not work anymore
|Affected QGIS version:||2.18.4||Regression?:||Yes|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||23248|
tested on QGIS 2.8 and 2.16, with a polygon feature and the line pattern fill symbology.
In 2.8 you can define an offset for such symbology using an expression and it will works as expected. In 2.16 the offset based on a expression is not applied at all.
Also 2.14 is affected, so the eventual fix should be backported.
style fill offset linear patterns
prejudice are george,new entry, I need help regarding the construction of filling a poly layer called cadastral representing particle owners.
many to one relationship.
I connected with mmqgis proprietari.csv (many) to particelle.shp (one) and created a new shp with svrapposti polygons for each subject represented.
eg particle 1 prop guy 100% one poliggono
.... Particle 2 prop Dick 25% + 75% trad two polygons
proprietari.csv contains a field progresProp (double) plus a TotProp field (twice).
Particle 1 name = dude; progresProp = 1; TotProp = 1
particle 2 name = foo; progresProp = 1; TotProp = 2
particle 2 Name = simp; progresProp = 2; TotProp = 2
the properties of the vector is defined by style category of name
symbol fill filling linear patern distance = TotProp
lienea simple stroke = 1 offset = progresProp
aim is to achieve parallel lines of different colors for n owners.
particle 1 will be the line of the same tight red (distance = 1, width = 1 offset = 1)
particle 2 will be the line of a different color blue alternarnate (distance = 2; width = 1 offset = 1) + green (distance = 2; width = 1 offset = 2)
in fact I can not apply the offset property it 'as calculated it' value as the value preassigned
#2 Updated by Richard Duivenvoorde over 4 years ago
- Status changed from Open to Feedback
to be honest it is not all clear what you try to achieve and on basis of your story alone it would take me too much time to check/find out, and also: I do not think what you describe is a 'bug' is it?
if you still think it is, please:
- add a zip with a very small part of your data
- a qgs project file
and prefereably some more description/sketches what exactly it is that you want, and is not working
#6 Updated by Giovanni Manghi over 4 years ago
- Assignee deleted (
- Priority changed from Normal to Severe/Regression
- Status changed from Feedback to Open
- Subject changed from style fill offset linear patterns to symbology offset based on expressions does not work anymore
Subject and original description edited to better describe the issue.