<html><head></head><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1473795873490_3805">Hi Helmut,</div><div id="yui_3_16_0_ym19_1_1473795873490_3536"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1473795873490_3537">the r.mapcalc error i found at the first time when i try to mosaic two images. Then I try r.mapcalc in another operation, for example :</div><div id="yui_3_16_0_ym19_1_1473795873490_3771" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1473795873490_3637" dir="ltr">r.mapcalc "image 1 = if( NDVI@220215  >= 0.25 ,1 ,0)"<br id="yui_3_16_0_ym19_1_1473795873490_3758">syntax error, unexpected INTEGER, expecting '('<br id="yui_3_16_0_ym19_1_1473795873490_3759">Parse error<br id="yui_3_16_0_ym19_1_1473795873490_3760">ERROR: parse error</div><div id="yui_3_16_0_ym19_1_1473795873490_3778" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1473795873490_3777" dir="ltr">regards,</div><div id="yui_3_16_0_ym19_1_1473795873490_3803" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1473795873490_3804" dir="ltr">Andry<br></div><div id="yui_3_16_0_ym19_1_1473795873490_3532"><span></span></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: times new roman, new york, times, serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font face="Arial" size="2"> On Tuesday, September 13, 2016 9:35 PM, Helmut Kudrnovsky <hellik@web.de> wrote:<br></font></div>  <br><br> <div class="y_msg_container">andry rustanto-2 wrote<div class="yqt0158324123" id="yqtfd21571"><br clear="none">> dear all,<br clear="none">> I got an error message when i try to mosaic images :<br clear="none">> Mosaicing 2 images...<br clear="none">> syntax error, unexpected INTEGER, expecting VARNAME or NAME<br clear="none">> Parse error<br clear="none">> ERROR: parse error<br clear="none">> ERROR: An error occurred while running r.mapcalc<br clear="none">> <br clear="none">> the syntax error is also appeared when i try to execute r.mapcalc, both<br clear="none">> using GUI and terminal. Seems the error occurred after i upgraded grass<br clear="none">> from 7.0.3 to 7.0.4. I hope someone can help, thank you in advance<br clear="none">> Andry</div><br clear="none"><br clear="none">what is the used r.mapcalc command?<br clear="none"><br clear="none"><br clear="none"><br clear="none">-----<br clear="none">best regards<br clear="none">Helmut<br clear="none">--<br clear="none">View this message in context: <a shape="rect" href="http://osgeo-org.1560.x6.nabble.com/r-mapcalc-error-tp5285649p5285653.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/r-mapcalc-error-tp5285649p5285653.html</a><br clear="none">Sent from the Grass - Users mailing list archive at Nabble.com.<br clear="none">_______________________________________________<br clear="none">grass-user mailing list<br clear="none"><a shape="rect" ymailto="mailto:grass-user@lists.osgeo.org" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br clear="none"><a shape="rect" href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br><br></div>  </div> </div>  </div></div></body></html>