[GRASS-dev] [GRASS GIS] #2129: Vect_net_build_graph should check cost values

GRASS GIS trac at osgeo.org
Thu Nov 7 07:21:29 PST 2013


#2129: Vect_net_build_graph should check cost values
-------------------------+--------------------------------------------------
 Reporter:  rblazek      |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  6.4.4                    
Component:  Default      |     Version:  6.4.3 RCs                
 Keywords:               |    Platform:  All                      
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 Vect_net_build_graph check cost values read from database and call
 G_fatal_error() if value is out of supported range:

 1) values must be positive (except -1 used to exclude edge)

 2) value * cost_multip sould be lower than dglInt32_t max value

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



More information about the grass-dev mailing list