[GRASS-dev] wxGUI: "Save display to graphic file" and d.out.file options

Glynn Clements glynn at gclements.plus.com
Fri Oct 16 14:38:23 EDT 2009

Martin Landa wrote:

> > resolution and such. Since d.out.file already generates wxpython code
> > could it be recycled in the GUI? (d.out.file fails and wants an X monitor).
> is there any reason why d.out.file requires X monitors? It would be
> cool to have d.out.file also in GRASS7.

d.out.file requires a monitor from which to obtain the list of
displayed maps (i.e. d.save). It doesn't have to be an X monitor.

Obviously, the GUI has this information somewhere.

Actually, it has the code as well; see Layer.Render and Map.Render in

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list