postgis legend is not updated
If I filter a postgis table with the query builder (eg taking all the points with meteo='c'), then I set simbology using unique value setting on field meteo, I get a legend with only one class where meteo='c'.
If now I select all data (clearing query builder), legend doesn't change and all points appear with the same color (meteo='c' in the legend).
On the other hand, if I set simbology without previously selecting data, the legend shows all categories for meteo and remains the same when I select some data.
I think the legend should be automatically updated after each selection.
Change History
(4)
Owner: |
changed from nobody to mhugent
|
Milestone: |
Version 0.8 Release → Version 0.8.1 Release
|
Version: |
0.8 → HEAD
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
The fact that all features appeared in the same color after removing the query is a bug and should be fixed now (in the 0.8 branch as well as in 0.9). Please test if this is correct.
I don't think that the legend should be automatically updated. E.g. in qgis 0.9, it is possible when choosing 'unique value' to remove some values from the legend (and those features are of course not drawn on the map). In my opinion this is usefull in many situations. So the dialog 'unique value' does not guarantee that there is always unique value symbology. Rather it assists the user in creating an appropriate legend. The user has more freedom in legend creation like this, but also more responsibilities...
Marco