-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Legend content issue when using atlas and themes #28919
Comments
Author Name: Alexis Roy-L (Alexis Roy-L) This is not an issue with the auto-update activated. But the auto-update displays too much information(basemap, etc.), which makes it more annoying to use. |
Author Name: Giovanni Manghi (@gioman) Please always test with the latest version available, now is 3.4.4. Thanks.
|
Author Name: Alexis Roy-L (Alexis Roy-L) Giovanni Manghi wrote:
Bug is still present in 3.4.4 Here is how to replicate it: 1 Make a layer with categories. You will see that only the map preset will be used to determine which layer categories will be displayed in the legend. |
Author Name: Giovanni Manghi (@gioman)
|
…cular theme, then correctly follow that same theme's styling when rendering the legend Fixes layout legends always render using the canvas' visible theme styling, instead of that of the linked map. Fixes qgis#27542, qgis#24694, qgis#28919, qgis#28925 Fix sponsored by the Victorian Planning Authority
…cular theme, then correctly follow that same theme's styling when rendering the legend Fixes layout legends always render using the canvas' visible theme styling, instead of that of the linked map. Fixes qgis#27542, qgis#24694, qgis#28919, qgis#28925 Fix sponsored by the Victorian Planning Authority (cherry picked from commit d40114c)
…cular theme, then correctly follow that same theme's styling when rendering the legend Fixes layout legends always render using the canvas' visible theme styling, instead of that of the linked map. Fixes qgis#27542, qgis#24694, qgis#28919, qgis#28925 Fix sponsored by the Victorian Planning Authority (cherry picked from commit d40114c)
…cular theme, then correctly follow that same theme's styling when rendering the legend Fixes layout legends always render using the canvas' visible theme styling, instead of that of the linked map. Fixes #27542, #24694, #28919, #28925 Fix sponsored by the Victorian Planning Authority (cherry picked from commit d40114c)
…cular theme, then correctly follow that same theme's styling when rendering the legend Fixes layout legends always render using the canvas' visible theme styling, instead of that of the linked map. Fixes #27542, #24694, #28919, #28925 Fix sponsored by the Victorian Planning Authority (cherry picked from commit d40114c)
I experienced the same problem but found a workaround which probably explains the issue. In my project I have a rule based symbology. As the rules are quit complex I copied the labels and changes just a small part of the filter formulas. When I create the atlas the legend is not only displaying the label in the atlas but also all the copied labels which are outside of the atlas. When I delete the copied lables and recreate them all manually the newly created lables do not appear on the atlas anymore. |
Author Name: Alexis Roy-L (Alexis Roy-L)
Original Redmine Issue: 21101
Affected QGIS version: 3.4.4
Redmine category:map_legend
Greetings,
Here is the behavior I noticed:
When using themes and an atlas to generate automatically maps, the current selected sub item in the map will be used rather than the setting of the theme.
IE: If I have a layer with 7 classes and I want one of them to be displayed for 2 themes and all the classes for 1 other theme.
The legend will display the classes that are currently activated in the map regardless of what is displayed by the theme on the canvas.
This mean that I must set my map to match the theme of the canvas in order to display the proper categories in the legend, otherwise only one, none or all the classes for a given layer will be displayed depending on the current map theme and regardless of the canvas theme.
Thanks and have a nice day!
The text was updated successfully, but these errors were encountered: