[GRASS-SVN] r66570 - grass-addons/grass7/raster/r.green/r.green.hydro/r.green.hydro.recommended
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Oct 22 01:44:43 PDT 2015
Author: Giulia
Date: 2015-10-22 01:44:43 -0700 (Thu, 22 Oct 2015)
New Revision: 66570
Modified:
grass-addons/grass7/raster/r.green/r.green.hydro/r.green.hydro.recommended/r.green.hydro.recommended.py
Log:
r.green: bug for th buffer in the recommeded module
Modified: grass-addons/grass7/raster/r.green/r.green.hydro/r.green.hydro.recommended/r.green.hydro.recommended.py
===================================================================
--- grass-addons/grass7/raster/r.green/r.green.hydro/r.green.hydro.recommended/r.green.hydro.recommended.py 2015-10-21 22:44:36 UTC (rev 66569)
+++ grass-addons/grass7/raster/r.green/r.green.hydro/r.green.hydro.recommended/r.green.hydro.recommended.py 2015-10-22 08:44:43 UTC (rev 66570)
@@ -257,7 +257,7 @@
pid = os.getpid()
if area:
- if buff:
+ if float(buff):
area_tmp = 'tmp_buff_area_%05d' % pid
gcore.run_command('v.buffer',
input=area,
@@ -265,7 +265,7 @@
distance=buff, overwrite=OVW)
area = area_tmp
TMPVECT.append(area)
-
+ import ipdb; ipdb.set_trace()
oriver = 'tmp_river_%05d' % pid
gcore.run_command('v.overlay', flags='t',
ainput=river,
More information about the grass-commit
mailing list