[GRASS-SVN] r52591 - grass-addons/grass7/vector/v.surf.icw
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Aug 8 02:12:53 PDT 2012
Author: hamish
Date: 2012-08-08 02:12:53 -0700 (Wed, 08 Aug 2012)
New Revision: 52591
Modified:
grass-addons/grass7/vector/v.surf.icw/v.surf.icw.py
Log:
r.what had its options changed, adapt.
Modified: grass-addons/grass7/vector/v.surf.icw/v.surf.icw.py
===================================================================
--- grass-addons/grass7/vector/v.surf.icw/v.surf.icw.py 2012-08-08 07:39:19 UTC (rev 52590)
+++ grass-addons/grass7/vector/v.surf.icw/v.surf.icw.py 2012-08-08 09:12:53 UTC (rev 52591)
@@ -252,8 +252,8 @@
float(data_value)))
# we know the point is in the region, but is it in a non-null area of the cost surface?
- rast_val = grass.read_command('r.what', input = area_mask,
- east_north = '%s,%s' % (position[0], position[1])
+ rast_val = grass.read_command('r.what', map = area_mask,
+ coordinates = '%s,%s' % (position[0], position[1])
).strip().split('|')[-1]
if rast_val == '*':
grass.message(_(" -- Skipping, point lays outside of cost_map."))
More information about the grass-commit
mailing list