[GRASS-user] scripting mapcalc
achim
ak7 at jupiter.uni-freiburg.de
Thu Mar 5 10:39:44 EST 2009
The Problem isn't solved yet!!
I posted an easy example, but calculating with more complicated
scenarios I got these:
r.mapcalc river=if(river[0,1]=4032076 ,4032075,river)
syntax error, unexpected '=', expecting ')'
Parse error
or
r.mapcalc river=if( river=4032076 ||| river=4032076 ,4032075,river)
syntax error, unexpected '=', expecting '@' or '('
Parse error
Any ideas?
Thanks (anyway),
achim
Nikos Alexandris schrieb:
> Hallo Achim!
>
> On Thu, 2009-03-05 at 15:55 +0100, achim wrote:
>> Its awful!
>>
>> That does work (in tsch so far!
> What is _tsch_? Do you mean _tcsh_? Sorry for my ignorance if it's
> something I _should_ know :-)
>
>
>> Maybe you know a way to make r.mapcalc "quiet"?
> Not really. The Experts should know that :-)
>
>> Or maybe to query a rastermap col-row wise?
> Sure it's possible. I don't have beforehand an example or can't produce
> from memory anything right now (small experience on this).
>
> Best check the r.mapcalc manual for its internal variables row() and
> col().
>
>> Greetings from Potsdam at the moment.
>> achim
>
> Greetings from Freiburg,
> Nikos
>
More information about the grass-user
mailing list