[Qgis-user] r.mapcalculator
ALT SHN
i.geografica at alt-shn.org
Sun Oct 24 10:23:17 PDT 2010
Hello Again,
Altough this is a QGIS maillist, maybe someone can give me a hint about
this.
I want to generate a new raster from the following expression (using
r.mapcalculator from GRASS plugin):
A*0.5+B*0.05+C*0.2+D*0.2+E*0.05
All rasters are integer16 geotiff anda have the same resolution. I just get
this message:
r.mapcalculator amap=A at PERMANENT bmap=B at PERMANENT
cmap=C at PERMANENTdmap=D at PERMANENTemap=E at PERMANENT=
formula=A*0.5+B*0.05+C*0.2+D*0.2+E*0.05 outfile=Erosao
r.mapcalc "Erosao" = "( " "A at PERMANENT" @PERMANENT" *0.5+ " "B at PERMANENT"
@PERMANENT" *0.05+ " "C at PERMANENT" @PERMANENT" *0.2+ " "D at PERMANENT"
@PERMANENT" *0.2+ " "E at PERMANENT" @PERMANENT" *0.05)"
Illegal filename. Character not allowed.
Invalid map
Parse error
Calculating Erosao. Try expert mode.
Finished with error
I suspect something very basic is missing but I don´t know what could it
be!!
Andre
--
---------------------------------------------------------------
Associação Leonel Trindade
SOCIEDADE DE HISTÓRIA NATURAL
Apartado 25 2564-909 Torres Vedras Portugal
Sede e Biblioteca: rua Cavaleiros da Espora Dourada, 27A 2560 Torres Vedras
Laboratório de Paleontologia e Paleoecologia: Polígono Industrial do Alto do
Ameal 2565-641 Ramalhal
http://alt-shn.blogspot.com
www.alt-shn.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20101024/06e368ac/attachment.html>
More information about the Qgis-user
mailing list