[GRASS-dev] wxpython gui: speed of display

Michael Barton michael.barton at asu.edu
Thu Aug 17 01:17:15 EDT 2006


So, if you set GRASS_RENDER_IMMEDIATE=TRUE, there is no need to run d.mon
start=PNG? 

Is there any way to specify the output file for each d.* command? Or is it
still set for all commands to whatever is specified in GRASS_PNGFILE?

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton



> From: Glynn Clements <glynn at gclements.plus.com>
> Date: Thu, 17 Aug 2006 02:36:15 +0100
> To: Michael Barton <michael.barton at asu.edu>
> Cc: Moritz Lennert <mlennert at club.worldonline.be>, Grass Developers List
> <grass-dev at grass.itc.it>
> Subject: Re: [GRASS-dev] wxpython gui: speed of display
> 
> 
> 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