[GRASS-dev] v.clean -- thresholds & G_message
Martin Landa
landa.martin at gmail.com
Tue Nov 21 06:12:11 EST 2006
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 *
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v_clean-1.diff.gz
Type: application/x-gzip
Size: 742 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20061121/eccb865d/v_clean-1.diff.gz
More information about the grass-dev
mailing list