[QGIS-trac] Re: [Quantum GIS] #3222: Fast, easy and beautiful on the fly rule-based rendering of OSM maps

Quantum GIS qgis at qgis.org
Wed Apr 6 20:37:28 EDT 2011


#3222: Fast, easy and beautiful on the fly rule-based rendering of OSM maps
------------------------------------------------+---------------------------
   Reporter:  mayeulk                           |              Owner:  wonder       
       Type:  patch                             |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.7.0
  Component:  Symbology                         |            Version:               
   Keywords:                                    |   Platform_version:               
   Platform:  All                               |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------

Comment(by mayeulk):

 This patch
 http://trac.osgeo.org/qgis/attachment/ticket/3222/patch_on_r15676
 -rbr_symbol-levels_reordering_1st-rule_buttons.diff
 implements most of wonder's suggestion made
 [http://trac.osgeo.org/qgis/ticket/2832#comment:9 here], namely
 "switching first rule/all rules, enabling symbol levels".
 It does the following:
  * adds a quick fix for symbol levels [use only first rule] and a
 "Priority column"  which is necessary to know in which order the rules
 will be checked
  * the ability to reorder the rules (otherwise, the only option to move a
 rule to first position is to delete and recreate all rules)
  * allows to use only first matching rule (also without using symbol
 levels), with a new check box
  * as it is, using symbol levels forces the use of the "use only first
 matching rule" behavior. This is reflected in the states of the
 checkboxes: if the user checks "enable symbol levels", then the "Use only
 first matched rule" is automatically checked, and grayed out so that it
 cannot be disabled. This provides feedback to the user that both
 checkboxes are linked; to make this feedback more clear, the "enable
 symbol levels" is currently duplicated (and kept synchronized with
 original checkbox) in the Layer properties of the rule-based renderer
 (this duplicate checkbox would be removed later, when continuing after
 first matched rule would be possible with symbol levels).

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