[GRASS-user] Error trying to mosaic two images

Glynn Clements glynn at gclements.plus.com
Mon Dec 5 12:04:15 EST 2011


Hamish wrote:

> > syntax error, unexpected '@', expecting '='
> > Parse error
> > C:/Arquivos de programas/GRASS6.4RC1/scripts/i.image.mosaic: line 98:
> ...
> 
> the r.mapcalc call apparently does not like the @mapset in the input
> names. I suspect a little \"quoting\" of the variables within the mapcalc
> statement will help.

Quoting will make r.mapcalc accept a qualified name on the LHS of the
"="; however, the name must still refer to the current mapset.

But r.mapcalc is the least of the problems. i.image.mosaic
fundamentally expects the map names to be unqualified.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list