[GRASS-user] r.mapcalc-problem
Markus Neteler
neteler at osgeo.org
Fri Mar 13 04:34:34 EDT 2009
On Fri, Mar 13, 2009 at 9:00 AM, Martin Landa <landa.martin at gmail.com> wrote:
> Hi,
>
> 2009/3/13 Markus Neteler <neteler at osgeo.org>:
>>> r.mapcalc "developed_lake=if(landuse96_28m==1 || landuse96_28m==2, lakes_buff, null())"
>>> syntax error, unexpected $end, expecting '='
>>> Parse error
>
> try without quotation marks, e.g.
>
> r.mapcalc developed_lake = if(landuse96_28m==1 || landuse96_28m==2,
> lakes_buff, null())
That works. Do you see a chance to also accept it quoted
as required for the true cmd line?
BTW: a subsequent
d.rast developed_lake
adds an entry to the manager but in the form
d.rast flags=developed_lake
which should be
d.rast map=developed_lake
Markus
More information about the grass-user
mailing list