[GRASS-dev] redirect graphic output of r.spread

Vaclav Petras wenzeslaus at gmail.com
Wed Sep 18 18:12:07 PDT 2013

On Wed, Sep 18, 2013 at 3:29 PM, Hamish <hamish_b at yahoo.com> wrote:

> Margherita wrote:
> >>> Any idea on how to (and IF it's possible to) redirect the graphic
> >>> output of r.spread module to a gif or mov or avi file instead of
> >>> to (or beside to) the monitor?
> Hamish:
> >> not directly, but you might see the "screencast" section in:
> >>   http://grasswiki.osgeo.org/wiki/Movies
> >
> > Thanks for the link. But I don't understand how to put this in practice.
> > I mean, as far as I understand, you're suggesting to run r.spread in a
> loop,
> > each step producing a final map as image and then compose together as a
> video,
> > right?
> nope, the "screencast" is to record the changes on the screen as
> they happen, like putting a movie camera pointed at the screen. (including
> the
> cursor if it happens to be in-shot)
> As-written I don't think there's a way to have r.spread write out static
> images
> per-iteration to encode later into a video from individual frames.
> So, if I understand correctly this is a bug in r.spread. For GRASS 6 it
may seem as feature request but for GRASS 7 it is a bug. Expected output is
a series of maps which you can put into a temporal dataset, export as
images or analyze individually. Visualization is another issue but for
GRASS 7, -d switch will newer be enabled.

I'm not familiar with r.spread much, only from manual, so correct me if I'm

Maybe it is not so complicated to rewrite it, is somebody familiar with the
code to say something about it?


> regards,
> Hamish
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130918/d1cecc6f/attachment.html>

More information about the grass-dev mailing list