[GRASS-windows] Setting a paramaetr file name for Raster output

Brian Sanjeewa Rupasinghe jinkabs at gmail.com
Sun Jan 6 22:06:35 PST 2013


Hi all,

When i use a parameter to assign the output map name of r.mapcalc in GRASS7
for windows, it gives an error message saying:

Command 'd.rast map=viewshed2 at PERMANENT' failed
Details: Unknown display driver <cairo>

routput is a parameter set by options (routput = options['routput'])
grass.mapcalc("routput = viewshed + 1", overwrite = True, quiet = True)


However, when i just assign a name for the map without a parameter  the
output writes in the current MAPSET.
Here, viewshed1 is the new map after r.mapcalc operation


grass.mapcalc("viewshed1 = viewshed + 1", overwrite = True, quiet = True)

What is the cause for this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-windows/attachments/20130107/7f6936d4/attachment.html>


More information about the grass-windows mailing list