[GRASS-dev] [GRASS GIS] #358: new flag for r.quantile to produce output compatible with r.recode

GRASS GIS trac at osgeo.org
Sun Nov 9 22:53:08 EST 2008


#358: new flag for r.quantile to produce output compatible with r.recode
-------------------------+--------------------------------------------------
 Reporter:  dylan        |       Owner:  grass-dev at lists.osgeo.org
     Type:  enhancement  |      Status:  new                      
 Priority:  minor        |   Milestone:  6.4.0                    
Component:  Raster       |     Version:  svn-develbranch6         
 Keywords:  r.quantile   |    Platform:  All                      
      Cpu:  All          |  
-------------------------+--------------------------------------------------
 Small patch to re-format output from r.quantile. Default output looks like
 this
 {{{
 r.quantile in=beam_150 quantiles=5
 0:20.000000:7440.040527
 1:40.000000:7512.872559
 2:60.000000:7611.160645
 3:80.000000:7611.161133
 }}}

 Modified output:
 {{{
 r.quantile in=beam_150 quantiles=5 -r

 6429.886230:7440.040527:1
 7440.040527:7512.872559:2
 7512.872559:7611.160645:3
 7611.160645:7611.161133:4
 7611.161133:7638.599121:5
 }}}

 Patch is attached.

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


More information about the grass-dev mailing list