Ticket #1045 (closed defect: fixed)
strange behaviour in v.net.path
| Reported by: | manuele | Owned by: | grass-dev@… |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.4.1 |
| Component: | Vector | Version: | unspecified |
| Keywords: | network analysis, v.net.path | Cc: | |
| Platform: | Linux | CPU: | x86-32 |
Description
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"
"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:
"cat","id","fcat","tcat","sp","cost", "fdist","tdist"
"26", "26","4", "9", "1", "1.79769313486232e+19","0", "0"
where it even seams that the node 9 is not reachable.

