[GRASS-dev] [GRASS GIS] #1045: strange behaviour in v.net.path

GRASS GIS trac at osgeo.org
Tue Apr 27 05:58:53 EDT 2010


#1045: strange behaviour in v.net.path
------------------------------+---------------------------------------------
 Reporter:  manuele           |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect            |      Status:  new                      
 Priority:  normal            |   Milestone:  6.4.0                    
Component:  Vector            |     Version:  unspecified              
 Keywords:  network analysis  |    Platform:  Linux                    
      Cpu:  x86-32            |  
------------------------------+---------------------------------------------
 Dear developers,
 I found that giving a complete list of origins and destinations in a file
 I obtain a different result respect giving a single couple from the
 standard output. For example with the command:

 > echo "26 4 9" | v.net.path am_net afcol=arc_cost out=myPathMap

 I obtain this result:

 "cat","id","fcat","tcat","sp","cost","fdist","tdist"[[BR]]
 "1",  "26","4",   "9",   "0", "3.0", "0.0",  "0.0"

 otherwise using the same network map with the different command:

 > cat am_od_pair.txt | v.net.path am_net afcol=arc_cost out=myPathMap

 for the same origin destination couple I obtain:[[BR]]

 "cat","id","fcat","tcat","sp","cost",                "fdist","tdist"[[BR]]
 "26", "26","4",   "9",   "1", "1.79769313486232e+19","0",    "0"

 where it even seams that the node 9 is not reachable.

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


More information about the grass-dev mailing list