[GRASS-dev] wxpython gui: speed of display

Glynn Clements glynn at gclements.plus.com
Wed Aug 16 21:36:15 EDT 2006


Michael Barton wrote:

> What's the difference between
> 
> GRASS_PNG_AUTO_WRITE and GRASS_RENDER_IMMEDIATE?

GRASS_PNG_AUTO_WRITE tells the PNG driver to write the image to a file
whenever a client disconnects, rather than waiting until you stop the
monitor.

GRASS_RENDER_IMMEDIATE tells the raster library to use its built-in
PNG driver rather than connecting to an external monitor process using
sockets.

> Isn't there also a flag on each d.command to have it output directly to a
> PNG/PPM file without runing d.mon?

There isn't a flag; that's what GRASS_RENDER_IMMEDIATE is for. A flag
would have to be implemented separately for each module, while an
environment variable read by the raster library automatically enables
this feature for all display modules.

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




More information about the grass-dev mailing list