Hello, I´m new GRASS´s user, so probably this is question have already
been asked.
no, I don't think it has, so thanks for the report.
I have two geotiff images that I want to mosaic,
(did you try r.patch? perhaps i.image.mosaic is overkill)
but GRASS shows this error:
Mosaicing two images...
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.
(btw, in general the imagery libraries do not like @mapset very much,
but this one is just a little quoting bug I think)
It says the problem is the @, which was put automatically into the
images´s name to indicate where it is.
How should I proceed?
@PERMANENT and the current mapset are always in the mapset search path
(unless you do something silly) so you can safely remove the @mapset
part before you run the module.
Thanks in advance and sorry for the poor english. --
> 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.
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.