Browse Source

libpython: raster_what() - chnage null string indicator

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54983 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 years ago
parent
commit
6a33bfc448
1 changed files with 3 additions and 2 deletions
  1. 3 2
      lib/python/script/raster.py

+ 3 - 2
lib/python/script/raster.py

@@ -156,8 +156,9 @@ def raster_what(map, coord):
                      flags = 'rf',
                      separator = sep,
                      map = ','.join(map_list),
-                     coordinates = ','.join(coord_list))
-
+                     coordinates = ','.join(coord_list),
+                     null = _("No data"))
+    
     ret = read_command('r.what',
                        **cmdParams)
     data = list()