Re: [GRASS-user] Problem with r.basin in grass7

2014-11-14 Thread Helmut Kudrnovsky
Andrea Timmermann wrote and got: Downloading precompiled GRASS Addons lt;r.stream.distancegt;... Traceback (most recent call last): nbsp; File quot;C:#92;Program Files (x86)#92;GRASS GIS 7.1.svn/scripts/g.extension.pyquot;, line 1083, in lt;modulegt; nbsp; nbsp; sys.exit(main())

Re: [GRASS-user] d.out.file / d.save - Shell-script use issues

2014-11-14 Thread Glynn Clements
Vaclav Petras wrote: I kindly ask command line users of d.* commands, especially those using d.* commands in scripts, to test and participate in discussions concerning d.* commands in GRASS GIS 7. For example, d.out.file was added (relatively) lately to 7 and there is new command d.to.rast.

Re: [GRASS-user] A question before I embark on a programming exercise

2014-11-14 Thread Glynn Clements
Moritz Lennert wrote: r.mapcalc down_id = if(dir=1, id[1,1], if(dir=2, id[0,1], if(dir=3, id[-1,1] etc r.mapcalc follows C expression syntax; =is assignment, == is the equality test. -- Glynn Clements gl...@gclements.plus.com ___ grass-user

Re: [GRASS-user] A question before I embark on a programming exercise

2014-11-14 Thread Rainer M Krug
Glynn Clements gl...@gclements.plus.com writes: Moritz Lennert wrote: r.mapcalc down_id = if(dir=1, id[1,1], if(dir=2, id[0,1], if(dir=3, id[-1,1] etc r.mapcalc follows C expression syntax; =is assignment, == is the equality test. In this case shouldn't it be , | r.mapcalc

Re: [GRASS-user] A question before I embark on a programming exercise

2014-11-14 Thread Moritz Lennert
On 14/11/14 11:21, Rainer M Krug wrote: Glynn Clements gl...@gclements.plus.com writes: Moritz Lennert wrote: r.mapcalc down_id = if(dir=1, id[1,1], if(dir=2, id[0,1], if(dir=3, id[-1,1] etc r.mapcalc follows C expression syntax; =is assignment, == is the equality test. In this case

Re: [GRASS-user] d.out.file / d.save - Shell-script use issues

2014-11-14 Thread Nikos Alexandris
* Vaclav Petras wenzesl...@gmail.com [2014-11-12 09:35:32 -0500]: I kindly ask command line users of d.* commands, especially those using d.* commands in scripts, to test and participate in discussions concerning d.* commands in GRASS GIS 7. For example, d.out.file was added (relatively)

Re: [GRASS-user] A question before I embark on a programming exercise

2014-11-14 Thread Thomas Adams
Glynn Rainer, YES, absolutely -- I caught that and made it '==' instead of '='. When typing quickly, I sometimes make that mistake and then have to correct myself. But fundamentally, Moritz' approach worked very well and produced what I needed. I have a more difficult problem now, something I