wxGUI: "Save display to graphic file" and d.out.file options

3 messages Options
Embed this post
Permalink
Markus Neteler

wxGUI: "Save display to graphic file" and d.out.file options

Reply Threaded More More options
Print post
Permalink
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
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Martin Landa

Re: wxGUI: "Save display to graphic file" and d.out.file options

Reply Threaded More More options
Print post
Permalink
Hi,

2009/10/16 Markus Neteler <[hidden email]>:
> 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
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Glynn Clements

Re: wxGUI: "Save display to graphic file" and d.out.file options

Reply Threaded More More options
Print post
Permalink

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 <[hidden email]>
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev