[GRASS-SVN] r52801 - grass/trunk/scripts/d.vect.thematic

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 21 01:06:03 PDT 2012


Author: mmetz
Date: 2012-08-21 01:06:02 -0700 (Tue, 21 Aug 2012)
New Revision: 52801

Modified:
   grass/trunk/scripts/d.vect.thematic/d.vect.thematic.py
Log:
d.vect.thematic: do not forget the layer for v.univar

Modified: grass/trunk/scripts/d.vect.thematic/d.vect.thematic.py
===================================================================
--- grass/trunk/scripts/d.vect.thematic/d.vect.thematic.py	2012-08-21 08:04:30 UTC (rev 52800)
+++ grass/trunk/scripts/d.vect.thematic/d.vect.thematic.py	2012-08-21 08:06:02 UTC (rev 52801)
@@ -330,7 +330,7 @@
     if not where:
         where = None
 
-    stats = grass.read_command('v.univar', flags = 'eg', map = map, type = stype, column = column, where = where)
+    stats = grass.read_command('v.univar', flags = 'eg', map = map, type = stype, column = column, where = where, layer = layer)
     stats = grass.parse_key_val(stats)
 
     min  = float(stats['min'])



More information about the grass-commit mailing list