瀏覽代碼

d.vect.thematic: do not forget the layer for v.univar

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52801 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 12 年之前
父節點
當前提交
f69861fdda
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/d.vect.thematic/d.vect.thematic.py

+ 1 - 1
scripts/d.vect.thematic/d.vect.thematic.py

@@ -330,7 +330,7 @@ def main():
     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'])