[QGIS-trac] [Quantum GIS] #3696: classification keeps remembering a removed feature class

Quantum GIS qgis at qgis.org
Thu Mar 31 12:30:33 EDT 2011


#3696: classification keeps remembering a removed feature class
------------------------------------------------+---------------------------
   Reporter:  rduivenvoorde                     |              Owner:  nobody       
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.7.0
  Component:  Symbology                         |            Version:  1.6.0        
   Keywords:                                    |   Platform_version:               
   Platform:  All                               |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 when using unique classification, the removal of features from a certain
 class makes this class NOT go away when you re-classify the layer.

 Reproduction:
 - open qgis and generate a fresh point-shapefile with one string attribute
 'foo'
 - in editing mode digitize 3 features all with another value for foo (aaa,
 bbb, ccc)
 - now apply unique classification, you should see three classes
 - now remove one of the features using the edit/delete feature
 functionality in attribute-table view (ending up with only two features:
 aaa, bbb)
 - now reclassify the layer: ccc keeps coming up as a class/value
 - I have seen an example in which even restarting qgis this kept being the
 case (?????)

 This happens in both 'new' and 'old' classification

 I would see this as a bug, people using this classification as an legend
 in a layout will have non valid values in there legends

 Or is there another explanation?
 (my explanation? somewhere there is a caching mechanism which is not
 refreshed? (let's forget the restarting of qgis... don't know what that
 was....).

 Tested with 1.6 on windows and in debian

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3696>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list