[GRASS5] [bug #1238] (grass) r.transect_no_result

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

Subject: r.transect_no_result

Platform: GNU/Linux/i386
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 5.0pre4

Please enter error description here (and your name)
I did not get any results with r.transect.
Could you please change in source code main.c
line 85 and 86 from:

sprintf (command, "r.profile map='%s' width=%s result=%s
line=",
parms.map->answer, parms.width->answer,
parms.result->answer);

to updated command of r.profile for example:
   sprintf (command, "r.profile input='%s' output=-
profile=",
  parms.map->answer);

Then it'll be fixed.

ciao
--
Hans Fuchs

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

On Thu, Aug 22, 2002 at 05:15:25PM +0200, Request Tracker wrote:

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

Subject: r.transect_no_result

Platform: GNU/Linux/i386
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 5.0pre4

Please enter error description here (and your name)
I did not get any results with r.transect.
Could you please change in source code main.c
line 85 and 86 from:

sprintf (command, "r.profile map='%s' width=%s result=%s
line=",
parms.map->answer, parms.width->answer,
parms.result->answer);

to updated command of r.profile for example:
   sprintf (command, "r.profile input='%s' output=-
profile=",
  parms.map->answer);

Then it'll be fixed.

Thanks for the hint!

I think also profile= must be eliminated and also the
width parameter in r.transect (and the html file updated and
tcltkgrass for r.transect).

This should reach the release_branch, otherwise r.transect
is unusable.

Markus