Setting a paramaetr file name for Raster output

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Setting a paramaetr file name for Raster output

kabs1969
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@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?

_______________________________________________
grass-windows mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-windows
Reply | Threaded
Open this post in threaded view
|

Re: Setting a paramaetr file name for Raster output

Helmut Kudrnovsky
> What is the cause for this?

maybe better to ask in the grass-user ML.
best regards
Helmut