[GRASS-dev] Re: [GRASS GIS] #1045: strange behaviour in v.net.path
GRASS GIS
trac at osgeo.org
Fri Oct 8 11:16:20 EDT 2010
#1045: strange behaviour in v.net.path
------------------------------+---------------------------------------------
Reporter: manuele | Owner: grass-dev@…
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>
More information about the grass-dev
mailing list