Bug report #21143
Point displacement - weird behavior with multiple layers for a symbol
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Nyall Dawson | ||
Category: | Symbology | ||
Affected QGIS version: | 3.4.4 | Regression?: | No |
Operating System: | Windows 7 | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 28961 |
Description
Hi,
I have a point layer with several types of vehicles (column type) and some points are at the same place.
I choose point displacement for my layer style and Categorized as renderer.
When I choose a one-layer symbol for my vehicle type 'CCFM' for example, the point is well placed ( = around the original point when there are other vehicles too).
When I choose to add a second layer for that symbol (for example the default red point of Simple marker), the point is going nuts and is no more near the original point. Surprisingly, the point with the 2 layers symbol is well place if there is no other vehicle at the same place.
Hope my description is clear enough !
I tried it with QGIS 2.18.24 and 3.4.4.
Associated revisions
Allow for exact calculation of symbol sizes with mixed layer units
Fixes #21143
Allow for exact calculation of symbol sizes with mixed layer units
Fixes #21143
(cherry picked from commit 867e39947b3f24d0b7714cd44e28126b61769340)
History
#1 Updated by Nyall Dawson almost 6 years ago
- Status changed from Open to Feedback
I can't reproduce. Can you share your style?
#2 Updated by Jérémie Prud'homme almost 6 years ago
- File TestPointDisplacement.gpkg added
Here is a gpkg file with test points and style included.
#3 Updated by Giovanni Manghi almost 6 years ago
- Status changed from Feedback to Open
#4 Updated by Nyall Dawson almost 6 years ago
- Status changed from Open to In Progress
- Assignee set to Nyall Dawson
Confirmed
#5 Updated by Nyall Dawson almost 6 years ago
- % Done changed from 0 to 100
- Status changed from In Progress to Closed
Applied in changeset qgis|867e39947b3f24d0b7714cd44e28126b61769340.