<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 12.5px; border-collapse: collapse; ">Hello users,<div><br></div><div>I really could use some hints regarding this problem.</div><div><br></div>
<div>I want to generate a new raster from the following expression (using r.mapcalculator from QGIS 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="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "></p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><span>r.mapcalc &quot;Erosao&quot; = &quot;( &quot; &quot;A@PERMANENT&quot; @PERMANENT&quot; *0.5+ &quot; &quot;B@PERMANENT&quot; @PERMANENT&quot; *0.05+ &quot; &quot;C@PERMANENT&quot; @PERMANENT&quot; *0.2+ &quot; &quot;D@PERMANENT&quot; @PERMANENT&quot; *0.2+ &quot; &quot;E@PERMANENT&quot; @PERMANENT&quot; *0.05)&quot;</span></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><span>Illegal filename. Character not allowed.</span></p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
<span>Invalid map</span></p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><span>Parse error</span></p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><img>Calculating Erosao. Try expert mode.</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; 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; 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; 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; 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; text-indent: 0px; "><span style="font-weight: 600; ">Andre</span></p></div></span><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>