[GRASS-SVN] r65060 - grass-addons/grass7/vector/v.centerline

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Apr 15 08:10:14 PDT 2015


Author: martinl
Date: 2015-04-15 08:10:14 -0700 (Wed, 15 Apr 2015)
New Revision: 65060

Modified:
   grass-addons/grass7/vector/v.centerline/v.centerline.py
Log:
v.centerline: fix v.segment call

Modified: grass-addons/grass7/vector/v.centerline/v.centerline.py
===================================================================
--- grass-addons/grass7/vector/v.centerline/v.centerline.py	2015-04-15 14:43:33 UTC (rev 65059)
+++ grass-addons/grass7/vector/v.centerline/v.centerline.py	2015-04-15 15:10:14 UTC (rev 65060)
@@ -112,7 +112,7 @@
         segment_input += ' ' + category.strip() + ' 50%\n'
 
     grass.write_command('v.segment', input=input, output=tmp_centerpoints_map,
-            file='-', stdin=segment_input, quiet=True)
+            rules='-', stdin=segment_input, quiet=True)
 
     center_distances = grass.pipe_command('v.distance',
             _from=tmp_centerpoints_map, to=tmp_centerpoints_map, upload='dist',



More information about the grass-commit mailing list