[GRASS-SVN] r68000 - grass/trunk/vector/v.net.steiner

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Mar 4 15:07:13 PST 2016


Author: marisn
Date: 2016-03-04 15:07:13 -0800 (Fri, 04 Mar 2016)
New Revision: 68000

Modified:
   grass/trunk/vector/v.net.steiner/main.c
Log:
v.net.steiner: shortest road is searched between node not line id's (Fixes #2743)

Modified: grass/trunk/vector/v.net.steiner/main.c
===================================================================
--- grass/trunk/vector/v.net.steiner/main.c	2016-03-04 15:56:52 UTC (rev 67999)
+++ grass/trunk/vector/v.net.steiner/main.c	2016-03-04 23:07:13 UTC (rev 68000)
@@ -448,7 +448,7 @@
 	if (!(Vect_cat_get(Cats, tfield, &cat)))
 	    continue;
 	if (Vect_cat_in_cat_list(cat, Clist)) {
-	    Vect_list_append(TList, i);
+	    Vect_list_append(TList, node);
 	}
     }
 



More information about the grass-commit mailing list