<br><br><div class="gmail_quote">On Wed, Oct 5, 2011 at 11:31 PM, Glynn Clements <span dir="ltr">&lt;<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
Rainer M Krug wrote:<br>
<br>
&gt; I am looking for a way to automatically redraw a map if the underlying<br>
&gt; raster map is changing.<br>
&gt;<br>
&gt; Background: I am running a spatial simulation, and would like to see open a<br>
&gt; few graphics monitors (or similar)to follow how certain maps are changing<br>
&gt; over time. Is there a way of doing this?<br>
&gt;<br>
&gt; At the moment I am using d.mon and d.rast but these are static and not<br>
&gt; refresh when the underlying raster is changing. TO make it even more<br>
&gt; interesting: I am doing some steps of the simulation in R and only write the<br>
&gt; results back to the GRASS database.<br>
&gt;<br>
&gt; If it is not possible in 6.x, will it be possible in 7?<br>
<br>
</div>GRASS doesn&#39;t have any mechanism to obtain notifications when maps<br>
change. You will need to have your code provide such notifications.<br></blockquote><div><br>Thanks - I thought that much, but I wanted to make sure.<br>As I am scripting GRASS from R, this should not be to difficult - just add the notifications to the functions which can modify grass layers(execGRASS, writeRAST6, writeVECT6) and then react on these notifications.<br>
 <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Monitoring the filesystem is likely to be unreliable, as there&#39;s no<br>
straightforward way to determine when files are in a consistent state.<br></blockquote><div><br>Thanks for pointing this out and saving me some work - otherwise I might have chosen that path...<br> <br>Cheers,<br><br>Rainer<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<font color="#888888"><br>
--<br>
Glynn Clements &lt;<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>&gt;<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)<br><br>Centre of Excellence for Invasion Biology<br>Stellenbosch University<br>
South Africa<br><br>Tel :       +33 - (0)9 53 10 27 44<br>Cell:       +33 - (0)6 85 62 59 98<br>Fax (F):       +33 - (0)9 58 10 27 44<br><br>Fax (D):    +49 - (0)3 21 21 25 22 44<br><br>email:      <a href="mailto:Rainer@krugs.de" target="_blank">Rainer@krugs.de</a><br>
<br>Skype:      RMkrug<br><br>