[QGIS-trac] [Quantum GIS] #2377: Symbology legend classification items can get out of sync with classification field

Quantum GIS qgis at qgis.org
Tue Jan 19 01:13:28 EST 2010


#2377: Symbology legend classification items can get out of sync with
classification field
--------------------------------+-------------------------------------------
   Reporter:  springmeyer       |              Owner:  nobody       
       Type:  bug               |             Status:  new          
   Priority:  minor: annoyance  |          Milestone:  Version 1.5.0
  Component:  Symbology         |            Version:  HEAD         
   Keywords:                    |   Platform_version:               
   Platform:  All               |           Must_fix:  No           
Status_info:  0                 |  
--------------------------------+-------------------------------------------
 Using current symbology (not sym-ng) and a postgis dataset (openstreetmap)
 it is possible to:

 1) choose unique value symbology

 2) choose a classification field of text and classify features

 3) then still within the symbology interface change the classification
 field to a int4 type

 4) then leave the symbology interface without again hitting 'classify'

 I know this is a bit of a fringe thing, and I'm not sure out the right
 solution, but I noticed this because somehow I managed to do this and it
 breaks Quantumnik (and I assume other plugins that query the
 classification field type and value), because QGIS reports int4
 (Qvariant.Int) type but returns text-based feature values.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2377>
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