[GRASS5] [bug #4286] (grass) r.cost will not work with vector start points

this bug's URL: http://intevation.de/rt/webrt?serial_num=4286
-------------------------------------------------------------------------

Subject: r.cost will not work with vector start points

Ijust learned that r.cost still will not work with vector start points. It
generates an error if you use them. This has been the case for a long time and
I thought it was fixed until a student in my lab tried to use it yesterday.

Michael

-------------------------------------------- Managed by Request Tracker

I just learned that r.cost still will not work with vector start
points. It generates an error if you use them. This has been the case
for a long time and I thought it was fixed until a student in my lab
tried to use it yesterday.

I tried this earlier today and to my surprise got a segfault. It still
needs an update from the sites lib to the vector lib. I used the
start_rast= option last week without any problems.

work around: (for a small number of starting points)
  COORDS=`v.out.ascii | cut -f1,2 -d'|' | tr '\n' ','`
  r.cost coordinate=$COORDS

Hamish