[GRASS-SVN] r51434 - grass-addons/grass6/raster/mcda/r.mcda.roughset
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Apr 14 03:05:52 EDT 2012
Author: gianluca
Date: 2012-04-14 00:05:51 -0700 (Sat, 14 Apr 2012)
New Revision: 51434
Modified:
grass-addons/grass6/raster/mcda/r.mcda.roughset/r.mcda.roughset.py
Log:
Modified: grass-addons/grass6/raster/mcda/r.mcda.roughset/r.mcda.roughset.py
===================================================================
--- grass-addons/grass6/raster/mcda/r.mcda.roughset/r.mcda.roughset.py 2012-04-14 06:40:59 UTC (rev 51433)
+++ grass-addons/grass6/raster/mcda/r.mcda.roughset/r.mcda.roughset.py 2012-04-14 07:05:51 UTC (rev 51434)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python
############################################################################
#
# MODULE: r.mcda.roughset
@@ -523,9 +523,9 @@
i+=1
mapstring=",".join(maps)
- print maps
+ print mapstring
- for m in maps:
+ for m in mapstring:
grass.run_command("r.to.vect", overwrite='True', flags='s', input=m, output=m, feature='area')
grass.run_command("v.db.addcol", map=m, columns='rule varchar(25)')
grass.run_command("v.db.update", map=m, column='rule', value=m)
More information about the grass-commit
mailing list