[GRASS-SVN] r58812 - grass/trunk/scripts/r.buffer.lowmem

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jan 30 13:37:06 PST 2014


Author: wenzeslaus
Date: 2014-01-30 13:37:06 -0800 (Thu, 30 Jan 2014)
New Revision: 58812

Modified:
   grass/trunk/scripts/r.buffer.lowmem/r.buffer.lowmem.py
Log:
r.buffer.lowmem: reflect change in r.category input separator handling (separator option is used, so it need to be specified for :, r58811)

Modified: grass/trunk/scripts/r.buffer.lowmem/r.buffer.lowmem.py
===================================================================
--- grass/trunk/scripts/r.buffer.lowmem/r.buffer.lowmem.py	2014-01-30 18:18:11 UTC (rev 58811)
+++ grass/trunk/scripts/r.buffer.lowmem/r.buffer.lowmem.py	2014-01-30 21:37:06 UTC (rev 58812)
@@ -115,7 +115,8 @@
     grass.message(_("Extracting buffers (2/2)..."))
     grass.mapcalc(exp, output = output, input = temp_src, dist = temp_dist)
 
-    p = grass.feed_command('r.category', map = output, rules = '-')
+    p = grass.feed_command('r.category', map = output,
+                           separator=':', rules = '-')
     p.stdin.write("1:distances calculated from these locations\n")
     d0 = "0"
     for n, d in enumerate(distances):



More information about the grass-commit mailing list