[GRASS-SVN] r56292 - grass-addons/grass7/raster/r.agent

svn_grass at osgeo.org svn_grass at osgeo.org
Sat May 18 04:17:06 PDT 2013


Author: mic
Date: 2013-05-18 04:17:05 -0700 (Sat, 18 May 2013)
New Revision: 56292

Modified:
   grass-addons/grass7/raster/r.agent/r.agent.aco
Log:
fix writeout and a flag name

Modified: grass-addons/grass7/raster/r.agent/r.agent.aco
===================================================================
--- grass-addons/grass7/raster/r.agent/r.agent.aco	2013-05-18 10:52:12 UTC (rev 56291)
+++ grass-addons/grass7/raster/r.agent/r.agent.aco	2013-05-18 11:17:05 UTC (rev 56292)
@@ -46,8 +46,8 @@
 #% required : yes
 #%end
 #%flag
-#% key: convert
-#% description: Convert cost (slope..) to penalty map (using "tobler", see docu)
+#% key: a
+#% description: Auto-convert cost (slope..) to penalty map (using "tobler", see docu)
 #%end
 #%option
 #% key: sitesmap
@@ -277,6 +277,7 @@
         # loop and write out the contents at the end
         world.letantsdance(nextwrite)
         # export the value maps
+        world.playground.writelayer(anthill.Anthill.RESULT)
 #        world.writeout()
 #        print "nrofpaths:", world.nrop
         # count down outer



More information about the grass-commit mailing list