Browse Source

fix raster querying on Windows (problem with pipe character as a separator)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54995 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 12 years ago
parent
commit
3e68c53e14
1 changed files with 3 additions and 1 deletions
  1. 3 1
      lib/python/script/raster.py

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

@@ -152,9 +152,11 @@ def raster_what(map, coord):
             coord_list.append('%f,%f' % (e, n))
     
     sep = '|'
+    # separator '|' not included in command
+    # because | is causing problems on Windows
+    # change separator?
     cmdParams = dict(quiet = True,
                      flags = 'rf',
-                     separator = sep,
                      map = ','.join(map_list),
                      coordinates = ','.join(coord_list),
                      null = _("No data"))