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

Markus Metz markus.metz.giswork at googlemail.com
Thu Oct 6 02:19:37 EDT 2011


On Wed, Oct 5, 2011 at 5:10 PM, Rainer M Krug <r.m.krug at gmail.com> wrote:
> Hi
>
> I am looking for a way to automatically redraw a map if the underlying
> raster map is changing.
>
> Background: I am running a spatial simulation, and would like to see open a
> few graphics monitors (or similar)to follow how certain maps are changing
> over time. Is there a way of doing this?
>
> At the moment I am using d.mon and d.rast but these are static and not
> refresh when the underlying raster is changing. TO make it even more
> interesting: I am doing some steps of the simulation in R and only write the
> results back to the GRASS database.

You could try d.erase; d.rast every time a raster has changed. That
should refresh the raster. If d.mon and d.rast are currently called in
a script and not manually, inserting d.erase at appropriate places
before d.rast could help.

Markus M


More information about the grass-user mailing list