#1045: strange behaviour in v.net.path
------------------------------+---------------------------------------------
 Reporter:  manuele           |       Owner:  grass-...@…              
     Type:  defect            |      Status:  new                      
 Priority:  normal            |   Milestone:  6.4.0                    
Component:  Vector            |     Version:  unspecified              
 Keywords:  network analysis  |    Platform:  Linux                    
      Cpu:  x86-32            |  
------------------------------+---------------------------------------------

Comment(by huhabla):

 I can reproduce this behavior, here is a simple patch:

 {{{
 grass64_release/vector/v.net.path> svn diff
 Index: path.c
 ===================================================================
 --- path.c      (Revision 43825)
 +++ path.c      (Arbeitskopie)
 @@ -258,6 +258,7 @@

             if (ret == 0) {
                 sp = SP_UNREACHABLE;
 +               cost = 0;
                 unreachable++;
                 G_warning(_("Point %f,%f is not reachable from "
                             "point %f,%f"), tx, ty, fx, fy);


 }}}

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1045#comment:2>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to