[GRASS-dev] [GRASS GIS] #3198: r.stats.quantile: hardcoded max number of categries in base map

GRASS GIS trac at osgeo.org
Thu Nov 3 03:36:01 PDT 2016


#3198: r.stats.quantile: hardcoded max number of categries in base map
---------------------------------------+-------------------------
 Reporter:  mlennert                   |      Owner:  grass-dev@…
     Type:  defect                     |     Status:  new
 Priority:  normal                     |  Milestone:  7.2.1
Component:  Raster                     |    Version:  unspecified
 Keywords:  r.stats.quantile MAX_CATS  |        CPU:  Unspecified
 Platform:  Unspecified                |
---------------------------------------+-------------------------
 r.stats.quantile
 [https://trac.osgeo.org/grass/browser/grass/trunk/raster/r.stats.quantile/main.c#L21
 limits] the number of categories the base map can have to 1000 through a
 MAX_CATS variable.

 Is there any specific reason for this ? I would like to use
 r.stats.quantile in i.segment.stats to calculate percentiles per segment,
 but number of segments can be much higher than 1000.

 Classifying this as a "bug" for now...

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



More information about the grass-dev mailing list