[GRASS-user] r.mapcalc-problem
Helmut Kudrnovsky
hellik at web.de
Thu Mar 12 17:38:30 EDT 2009
hi,
i test a little bit the examples in
http://skagit.meas.ncsu.edu/~helena/grasswork/grassbookdat07/ncexternal/grasstestrast.txt
on grass64 from osgeo4w on a Win Vista 32 box.
I copy simply the command from the file above in the command line of the wx-gui
first example:
# find developed areas close to lakes
r.buffer lakes out=lakes_buff dist=60,120,240,500 --o
d.rast lakes_buff
r.mapcalc "developed_lake=if(landuse96_28m==1 || landuse96_28m==2, lakes_buff, null())"
d.rast developed_lake
d.vect streets_wake co=grey
d.rast -o lakes
following error message for the r.mapcalc-command:
(Thu Mar 12 22:32:47 2009)
r.mapcalc "developed_lake=if(landuse96_28m==1 || landuse96_28m==2, lakes_buff, null())"
syntax error, unexpected $end, expecting '='
Parse error
(Thu Mar 12 22:32:48 2009) Command finished (0 sec)
second example:
r.mapcalc "streets_travtime=1./streets_speed"
r.info streets_travtime
following error message for the r.mapcalc-command:
(Thu Mar 12 22:34:39 2009)
r.mapcalc "streets_travtime=1./streets_speed"
syntax error, unexpected $end, expecting '='
Parse error
(Thu Mar 12 22:34:39 2009) Command finished (0 sec)
best regards
helli
_______________________________________________________________________
DSL zum Nulltarif + 20 Euro Extraprämie bei Online-Bestellung über die
DSL Freundschaftswerbung! http://dsl.web.de/?ac=OM.AD.AD008K15279B7069a
More information about the grass-user
mailing list