[GRASS-user] "Automatic" redraw of map display in 6.4 when underlying raster changes?

Rainer M Krug r.m.krug at gmail.com
Thu Oct 6 06:17:35 EDT 2011


On Thu, Oct 6, 2011 at 12:09 PM, Martin Landa <landa.martin at gmail.com>wrote:

> 2011/10/6 Rainer M Krug <r.m.krug at gmail.com>:
> > It would be really nice, if one could define a script (in a environment
> > variable) which will be always executed if this event occurs. This could
> > then easily be used to instruct an external viewer to e.g. redraw.
>
> possible solution would be to modify file defined by PROMPT_COMMAND.
>
> * check if any monitor is running `d.mon -p`
> * check command and monitor content (if output map is drawn in the
> monitor - d.mon -c), run `d.redraw` if desired
>

Sounds very interesting.


>
> It would be probably quite easy to implement in G7.
>

I just looked at grass 6.4 and it is working there as well - but I guess
that $PROMT_COMMAND is not executed when I script GRASS from e.g. R.

I'll look at it,

Rainer


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



-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax (F):       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer at krugs.de

Skype:      RMkrug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20111006/504b28c1/attachment.html


More information about the grass-user mailing list