#106 closed bug (worksforme)
symbology is lost when trying to update it after modifying fields
Reported by: | Owned by: | mhugent | |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | |
Component: | Symbology | Version: | Trunk |
Keywords: | Cc: | lami@… | |
Must Fix for Release: | No | Platform: | Debian |
Platform Version: | Ubuntu Breezy | Awaiting user input: | no |
Description
1. add a grass vector layer (say "parcels") 2. properties -> symbology -> Legend type -> Unique value (Classification field: COVER_MAPS) 3. setup the symbology, ok, save project 4. exit qgis 5. in Grass replace 'meadow' within the COVER_MAPS in "parcels" layer with eg. 'pasture' (echo "UPDATE parcels SET COVER_MAPS='pasture' WHERE COVER_MAPS='meadow'" | db.execute) 6. qgis, open the project saved in #3 7. select the layer added in #1, properties -> symbology 8. the new value 'pasture' is not there, still 'meadow'... 9. Legend type -> Unique value (Classification field: COVER_MAPS) 10. 'pasture' appears, but all the symbology (colors, line widths etc.) previously setup in #2 is lost! 11. could it be preserved please, only the now missing 'meadow' removed and new 'pasture' set to anything? Maciek
Change History (6)
comment:1 by , 18 years ago
Type: | defect → enhancement |
---|
comment:2 by , 18 years ago
Milestone: | Version 0.8 Release → Version 0.9 Release |
---|
comment:3 by , 16 years ago
Awaiting user input: | unset |
---|---|
Cc: | added |
Must Fix for Release: | → No |
In 0.9.2 the legend is preserved but the new inserted feutures are not displaied.
comment:4 by , 16 years ago
Type: | enhancement → bug |
---|
Can you verify if this is still an issue? Jurgen made some changes in 0.11.0 to preserve symbol classes when you reclassify.
Thanks
Tim
comment:5 by , 15 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
no response for 5 month. closing.
Note:
See TracTickets
for help on using tickets.
In Qgis, data source and layer symbolisation are independent of each other. Therefore, the changed fieldname is not updated in the symbology (and in my opinion, it should not be updated automatically). I think the best solution would be to let the user editing the (field) values in the unique value dialog, similar to the 'graduated symbol' dialog, where the user may double click on the value list and edit the individual entries without loosing the already inserted symbology. I think this is a missing feature rather than a bug, so i try to adress it shortly after 0.8 is released.