Explorar o código

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 %!s(int64=12) %!d(string=hai) anos
pai
achega
f69861fdda
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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'])