[GRASSGUI] Use of monitors

Jachym Cepicky jachym.cepicky at gmail.com
Mon Mar 19 10:54:00 EDT 2007


Thanks for the advice...

Jachym

2007/3/19, Glynn Clements <glynn at gclements.plus.com>:
>
> Jachym Cepicky wrote:
>
> > > MapLayer.Render() tries to start a monitor:
> > >
> > >                 if os.system("d.mon --quiet start=gism"):
> > >
> > > Why?
> >
> > hmm, is that not necessary to be able to use d.* commands ?
>
> No. If you set GRASS_RENDER_IMMEDIATE=TRUE, d.* commands will generate
> PPM/PGM (or PNG) files directly (aka direct rendering). All of the
> environment variables which apply to the PNG driver apply to d.*
> commands.
>
> This is how gis.m (the Tcl/Tk one) generates images.
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>


-- 
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub




More information about the grass-gui mailing list