Hello Again,<div><br></div><div>Altough this is a QGIS maillist, maybe someone can give me a hint about this.</div><div>I want to generate a new raster from the following expression (using r.mapcalculator from GRASS plugin):</div>
<div><br></div><div>A*0.5+B*0.05+C*0.2+D*0.2+E*0.05<br clear="all"><br></div><div>All rasters are integer16 geotiff anda have the same resolution. I just get this message:</div><div><br></div><div><span style=" font-weight:600;">r.mapcalculator amap=A@PERMANENT bmap=B@PERMANENT cmap=C@PERMANENT dmap=D@PERMANENT emap=E@PERMANENT = formula=A*0.5+B*0.05+C*0.2+D*0.2+E*0.05 outfile=Erosao</span><p>
</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New,courier';">r.mapcalc "Erosao" = "( " "A@PERMANENT" @PERMANENT" *0.5+ " "B@PERMANENT" @PERMANENT" *0.05+ " "C@PERMANENT" @PERMANENT" *0.2+ " "D@PERMANENT" @PERMANENT" *0.2+ " "E@PERMANENT" @PERMANENT" *0.05)"</span></p>

<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New,courier';">Illegal filename. Character  not allowed.</span></p>

<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New,courier';">Invalid map </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New,courier';">Parse error</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><img src="C:/OSGeo4W/apps/qgis/./themes/default/grass/grass_module_error.png">Calculating Erosao. Try expert mode.</p>

<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Finished with error</span></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
<span style=" font-weight:600;"><br></span></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">I suspect something very basic is missing but I don´t know what could it be!!</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;"><br></span></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
<span style=" font-weight:600;">Andre</span></p></div><div><br></div><div><br></div><div><br></div><div><br>-- <br>---------------------------------------------------------------<br>Associação Leonel Trindade<br>SOCIEDADE DE HISTÓRIA NATURAL<br>
<br>Apartado 25 2564-909 Torres Vedras Portugal<br>Sede e Biblioteca: rua Cavaleiros da Espora Dourada, 27A 2560 Torres Vedras<br><br>Laboratório de Paleontologia e Paleoecologia: Polígono Industrial do Alto do Ameal 2565-641 Ramalhal<br>
<a href="http://alt-shn.blogspot.com">http://alt-shn.blogspot.com</a><br><a href="http://www.alt-shn.org">www.alt-shn.org</a><br>
</div>