Bug report #10520
Wrong size of svg marker in point pattern fill (with data defined properties)
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Symbology | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Ubuntu | Easy fix?: | No |
Pull Request or Patch supplied: | Yes | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 18930 |
Description
The size of the svg marker changes only by panning from time to time. It should only change its size by zooming since an expression is used for the size of the marker:
CASE
WHEN $scale < 750 THEN 5.6
WHEN $scale >= 750 AND $scale < 1250 THEN 4
WHEN $scale >= 1250 AND $scale < 3000 THEN 2.8
WHEN $scale >= 3000 THEN 2
END
Testproject is attached (should look like attached screenshot).
Associated revisions
History
#1 Updated by zicke - over 10 years ago
It seems that mScaleMethod in QgsSvgMarkerSymbolLayerV2::renderPoint() changes randomly. No idea why. And then the root is extracted.
#2 Updated by zicke - over 10 years ago
- Pull Request or Patch supplied changed from No to Yes
#3 Updated by Martin Dobias over 10 years ago
- Status changed from Open to Closed
Fixed in changeset c49e38c39c9d687fdd99279997995229d4027055.
#4 Updated by Martin Dobias over 10 years ago
- Target version set to Version 2.4