[GRASS-dev] [GRASS GIS] #2199: r.cost coordinate parameter needs to be changed to start_coordinates

#2199: r.cost coordinate parameter needs to be changed to start_coordinates
----------------------+-----------------------------------------------------
Reporter: bhlevca | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: Vector | Version: svn-trunk
Keywords: | Platform: Linux
      Cpu: x86-64 |
----------------------+-----------------------------------------------------
r.cost parameters have changed, this module needs a simple modification.
See below

{{{
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)
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2199&gt;
GRASS GIS <http://grass.osgeo.org>

#2199: r.cost coordinate parameter needs to be changed to start_coordinates
-----------------------+----------------------------------------------------
  Reporter: bhlevca | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: critical | Milestone: 7.0.0
Component: Addons | Version: svn-trunk
Resolution: fixed | Keywords: v.surf.icw
  Platform: All | Cpu: x86-64
-----------------------+----------------------------------------------------
Changes (by neteler):

  * keywords: => v.surf.icw
  * platform: Linux => All
  * status: new => closed
  * component: Vector => Addons
  * resolution: => fixed

Comment:

To which module do you refer to with "this module needs a simple
modification"?
OK, a larger "find" job helped.

Fixed in r59126

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2199#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2199: r.cost coordinate parameter needs to be changed to start_coordinates
-----------------------+----------------------------------------------------
  Reporter: bhlevca | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: critical | Milestone: 7.0.0
Component: Addons | Version: svn-trunk
Resolution: fixed | Keywords: v.surf.icw
  Platform: All | Cpu: x86-64
-----------------------+----------------------------------------------------

Comment(by hamish):

thanks Markus.

ps- helpful (with -r):
  svn/grass-addons/tools/svngrep
quoting of $@ could be improved for terms with spaces.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2199#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>