[GRASS-dev] [GRASS GIS] #2575: i.segment threshold error message should be updated

GRASS GIS trac at osgeo.org
Mon Feb 2 06:57:43 PST 2015


#2575: i.segment threshold error message should be updated
-------------------------+--------------------------------------------------
 Reporter:  madi         |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.1.0                    
Component:  Imagery      |     Version:  svn-trunk                
 Keywords:  i.segment    |    Platform:  All                      
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 i.segment group=small output=small_seg threshold=1
 (as well as threshold=0)

 yelds:

 ERROR: Threshold should be >= 0 and <= 1

 Since threshold=1 and threshold=0 are not accepted as valid options, the
 error message should be:

 ERROR: Threshold should be > 0 and < 1

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



More information about the grass-dev mailing list