[GRASS-user] r.terraflow usage (segfault)

Markus Neteler neteler at osgeo.org
Fri Nov 14 10:08:45 EST 2008


On Fri, Nov 14, 2008 at 1:36 PM, Glynn Clements
<glynn at gclements.plus.com> wrote:
>
> Markus Neteler wrote:
>
>> On Thu, Nov 13, 2008 at 7:23 PM, Massimo Di Stefano
>> <massimodisasha at yahoo.it> wrote:
>> > Hi
>> >
>> > i'm tring to use "r.terraflow"
>> >
>> > following the help page i see :
>> >
>> > r.terraflow elev=spearfish filled=spearfish-filled \
>> >    dir=spearfish-mfdir swatershed=spearfish-watershed \
>> >    accumulation=spearfish-accu tci=spearfish-tci
>> >
>> >
>> > but i can't find any "spearfish" elevation data in the spearfish dataset
>> > so i used elevation.dem insted,
>>
>> I have fixed the nonsense example to
>>
>> r.terraflow elev=elevation.10m filled=elevation10m.filled \
>>     dir=elevation10m.mfdir swatershed=elevation10m.watershed \
>>     accumulation=elevation10m.accu tci=elevation10m.tci
>>
>>
>> > but i've a segfault :-/
>>
>> Me, too.
>
> This was introduced by r34198, which was back-ported in r34205.
>
>> This hack seems to cure the problem:
>
> region is being allocated, but not until after that point.
>
> Fixed in r34285.

backported to 6.4.svn.

Markus


More information about the grass-user mailing list