[GRASS-dev] [GRASS GIS] #2121: v.rast.stats: allow choice of statistics

GRASS GIS trac at osgeo.org
Wed Oct 30 05:43:35 PDT 2013


#2121: v.rast.stats: allow choice of statistics
--------------------------+-------------------------------------------------
 Reporter:  mlennert      |       Owner:  grass-dev@…              
     Type:  enhancement   |      Status:  new                      
 Priority:  normal        |   Milestone:  7.0.0                    
Component:  Vector        |     Version:  svn-trunk                
 Keywords:  v.rast.stats  |    Platform:  Unspecified              
      Cpu:  Unspecified   |  
--------------------------+-------------------------------------------------
 It would be convenient if v.rast.stats allowed a choice of statistics that
 one wants to upload to the attribute table. Currently, it creates 9
 columns:


 {{{
 INTEGER|B5_n
 DOUBLE PRECISION|B5_min
 DOUBLE PRECISION|B5_max
 DOUBLE PRECISION|B5_range
 DOUBLE PRECISION|B5_mean
 DOUBLE PRECISION|B5_stddev
 DOUBLE PRECISION|B5_varianc
 DOUBLE PRECISION|B5_cf_var
 DOUBLE PRECISION|B5_sum
 }}}

 a series of which can actually be derived from others (mean, range, sttdev
 || variance, coefficient of variation), meaning that only 5 are really
 needed (n, min, max, variance || stddev, sum).

 So, at least we could limit the uploaded statistics to those 5, or even
 allow choice of statistics through a parameter.

 Moritz

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2121>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list