[GRASS-dev] r.stats flags used in r.mode

Jachym Cepicky jachym.cepicky at centrum.cz
Fri Nov 24 15:46:27 EST 2006

while working on fprintf to G_message task, I came to r.mode. 

r.mode is using r.stats with flag "-a", which on some maps and regions
can produce output, whre NULL values are marked by '*' mark. This leads
to error in r.mode code (read_stats.c)

IMHO sollution for this is to ad '-n' flag to r.stats call. 

I added this to cvs. Could somebody review and test, if it works?

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/20061124/d0359751/attachment.bin

More information about the grass-dev mailing list