Opened 14 years ago
Closed 14 years ago
#2369 closed enhancement (fixed)
Cannot change column for existing graduated (or categorized) symbology
Reported by: | sowelu | Owned by: | nobody |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.5.0 |
Component: | Symbology | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | All |
Platform Version: | ubuntu 9.10 | Awaiting user input: | no |
Description
Once a layer has been classified (or categorized I think), you cannot change which column the classification applies to. It is common to want to use the same categories or ranges (with your custom symbols) on different types of data, or to load a previously saved set of ranges with symbols and apply them to a new layer with different column names.
Change History (2)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Also found this is a problem. Looks like it was considered in the code (there are commented out connections signals when the data columns is changed, though there is no corresponding slot coded that I can see (qgsgraduatedsymbolrendererv2widget.cpp).
I think that this is a necessary use-case - setting up classification ranges and symbology can take significant user input and it is reasonable to want to change the symbology to use a different columns (typically in a cross-tab type data set, with columns for a number of different, equivalent items)
Currently workaround is to save the project, edit the column name in the .qgs project file, and reload.