Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#492 closed defect (fixed)

postgis legend is not updated

Reported by: venturato@… Owned by: mhugent
Priority: minor: annoyance Milestone:
Component: Map Legend Version: Trunk
Keywords: Cc: cavallini@…
Must Fix for Release: No Platform: Debian
Platform Version: etch Awaiting user input: no

Description

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)

comment:1 by gsherman, 17 years ago

Owner: changed from nobody to mhugent

comment:2 by anonymous, 17 years ago

Milestone: Version 0.8 ReleaseVersion 0.8.1 Release
Version: 0.8HEAD

comment:3 by mhugent, 17 years ago

Resolution: fixed
Status: newclosed

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

comment:4 by (none), 15 years ago

Milestone: Version 0.8.1

Milestone Version 0.8.1 deleted

Note: See TracTickets for help on using tickets.