[QGIS-trac] Re: [Quantum GIS] #2832: rule-based renderer in symbology-ng should show rules in legend

Quantum GIS qgis at qgis.org
Wed Aug 11 03:27:31 EDT 2010


#2832: rule-based renderer in symbology-ng should show rules in legend
------------------------------------------------+---------------------------
   Reporter:  nirvn                             |              Owner:  wonder       
       Type:  patch                             |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.5.0
  Component:  Symbology                         |            Version:  Trunk        
   Keywords:                                    |   Platform_version:               
   Platform:  All                               |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
Changes (by mhugent):

  * type:  enhancement => patch


Comment:

 The following patch adds the legend items and adds symbol level support
 for the rule based renderer.
 However, symbol level rendering uses symbolForFeature(), which returns
 only one symbol and might not be appropriate if several rules apply. Still
 it is good enough in many situations to just return the first one (e.g.
 I'm using it for the mapserver benchmark). Or is there a better solution
 for it?

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2832#comment:3>
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