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

Hi,

in wxGUI, the "Save display to graphic file" is yet rather limited
with respect to what gis.m provided (disk symbol). I wonder if
functions from d.out.file could be added, at least to define the
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).

Markus

Hi,

2009/10/16 Markus Neteler <neteler@osgeo.org>:

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.

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

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
render.py.

--
Glynn Clements <glynn@gclements.plus.com>