[GRASS-SVN] r59126 - grass-addons/grass7/vector/v.surf.icw
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Feb 23 08:05:59 PST 2014
Author: neteler
Date: 2014-02-23 08:05:59 -0800 (Sun, 23 Feb 2014)
New Revision: 59126
Modified:
grass-addons/grass7/vector/v.surf.icw/v.surf.icw.html
grass-addons/grass7/vector/v.surf.icw/v.surf.icw.py
Log:
v.surf.icw: fix r.cost call due to parameter name change (trac #2199); manual cosmetics for G7
Modified: grass-addons/grass7/vector/v.surf.icw/v.surf.icw.html
===================================================================
--- grass-addons/grass7/vector/v.surf.icw/v.surf.icw.html 2014-02-23 15:01:56 UTC (rev 59125)
+++ grass-addons/grass7/vector/v.surf.icw/v.surf.icw.html 2014-02-23 16:05:59 UTC (rev 59126)
@@ -83,9 +83,10 @@
# equalize colors to show maximum detail:
r.colors -e annual_interp.3 color=bcyr
-# display results in an Xmonitor:
+# display results in a GRASS monitor:
+d.mon wx0
d.erase black
-d.rast -o annual_interp.3
+d.rast annual_interp.3
d.vect precip_30ynormals fcolor=red icon=basic/circle
d.legend annual_interp.3 color=white at=48.4,94.8,3.4,6.0
</pre></div>
Modified: grass-addons/grass7/vector/v.surf.icw/v.surf.icw.py
===================================================================
--- grass-addons/grass7/vector/v.surf.icw/v.surf.icw.py 2014-02-23 15:01:56 UTC (rev 59125)
+++ grass-addons/grass7/vector/v.surf.icw/v.surf.icw.py 2014-02-23 16:05:59 UTC (rev 59126)
@@ -270,7 +270,7 @@
cost_site_name = tmp_base + 'cost_site.' + '%05d' % num
proc[num-1] = grass.start_command('r.cost', flags = 'k', input = area_mask,
output = cost_site_name,
- coordinate = easting + ',' + northing,
+ start_coordinates = easting + ',' + northing,
quiet = True)
# stall to wait for the nth worker to complete,
if num % workers is 0:
More information about the grass-commit
mailing list