[GRASS-dev] v.clean -- thresholds & G_message

Jachym Cepicky jachym.cepicky at centrum.cz
Tue Nov 21 06:26:22 EST 2006


hallo,
imho this is more "output" then "message". I suggest to add flag -t for
tabular output 

jachym
On Tue, Nov 21, 2006 at 12:12:11PM +0100, Martin Landa wrote:
> Hi,
> 
> just a small note, thresholds used in v.clean should be tested for
> being a valid non-negative value (the patch).
> 
> There are two problems:
> 
> 1) mixing of printf (stderr, ) & G_message (see [1]).
> 
> 2) the function G_message (or G_waring ...) removes all redundant
> spaces from the original message.
> 
> 
> 	G_message(_("+---------------------------------+---------------+"));
> 	G_message(_("| Tool                            | Threshold     |"));
> 	G_message(_("+---------------------------------+---------------+"));
> 
> ->
> 
> +---------------------------------+---------------+
> | Tool | Threshold |
> +---------------------------------+---------------+
> 
> Best, Martin
> 
> [1] http://grass.itc.it/pipermail/grass-dev/2006-November/027532.html
> 
> -- 
> Martin Landa <landa.martin at gmail.com> * http://gama.fsv.cvut.cz/~landa *


> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev

-- 
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
-----------------------------------------   
OFFICE:                                     
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/20061121/93ad9bde/attachment.bin


More information about the grass-dev mailing list