[QGIS-trac] Re: [Quantum GIS] #3226: Patch for showing number of features per class in legend

Quantum GIS qgis at qgis.org
Thu Nov 18 05:23:10 EST 2010


#3226: Patch for showing number of features per class in legend
--------------------------------+-------------------------------------------
   Reporter:  mhugent           |              Owner:  timlinux     
       Type:  patch             |             Status:  new          
   Priority:  minor: annoyance  |          Milestone:  Version 1.7.0
  Component:  Build/Install     |            Version:               
   Keywords:                    |   Platform_version:               
   Platform:  All               |           Must_fix:  No           
Status_info:  0                 |  
--------------------------------+-------------------------------------------

Comment(by timlinux):

 Hi Marco

 I tested out your patch - cool addition! Yes I agree it is probably better
 to add as a general property of the layer - I tested with a large dataset
 and it seemed to spend a significant amount of time updating feature
 counts.

 On a purely cosmetic level it might be nicer to put the counts in square
 brackets after the class name e.g.

 {{{
 [19]
 }}}

 Regards

 Tim

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