Jachym Cepicky jachym.cepicky at centrum.cz
Sat Nov 25 10:59:25 EST 2006


I would need to catch progress of r.los in one python script. I used
following approach

for line in os.popen("r.los in=elevation.dem out=tmp 2>&1").readlines():
    print line

It works well, but all the "lines" are printed out, just after r.los is
finished, but not while it is processing the raster map.

Could somebody help me, how to do it? Could you point me to tcl code,
which must solve this problem too?

Thank you

Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub
Department of Geoinformation Technologies 
Zemedelska 3
613 00, Brno
Czech Republick
e-mail: xcepicky at node.mendelu.cz
URL:    http://mapserver.mendelu.cz
Tel.:   +420 545 134 514
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20061125/e5067605/attachment.bin

More information about the grass-dev mailing list