[GRASS-SVN] r46753 - grass/trunk/vector/v.net.salesman

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jun 22 08:36:41 EDT 2011


Author: mmetz
Date: 2011-06-22 05:36:41 -0700 (Wed, 22 Jun 2011)
New Revision: 46753

Modified:
   grass/trunk/vector/v.net.salesman/v.net.salesman.html
Log:
fix example

Modified: grass/trunk/vector/v.net.salesman/v.net.salesman.html
===================================================================
--- grass/trunk/vector/v.net.salesman/v.net.salesman.html	2011-06-22 10:30:25 UTC (rev 46752)
+++ grass/trunk/vector/v.net.salesman/v.net.salesman.html	2011-06-22 12:36:41 UTC (rev 46753)
@@ -144,11 +144,11 @@
 v.db.update myroads_net layer=2 col=bcost val="length / speed"
 
 # fastest path: traveling costs = length / speed = hours
-v.net.salesman myroads_net alayer=2 nlayer=1 acol=cost ccats=1-6 out=mysalesman_fastest
+v.net.salesman myroads_net alayer=2 nlayer=1 afcol=cost ccats=1-6 out=mysalesman_fastest
 
 # with different columns for forward and backward costs:
 # result is identical to fastest path
-v.net.salesman myroads_net afcol=cost abcol=bcost ccats=1-6 out=mysalesman_back
+v.net.salesman myroads_net alayer=2 nlayer=1 afcol=cost abcol=bcost ccats=1-6 out=mysalesman_back
 
 d.vect mysalesman_fastest col=green width=2
 d.vect centers col=red disp=attr attrcol=label lsize=12



More information about the grass-commit mailing list