[GRASS-dev] v.clean and G_message

Hallo,

v.clean prints lots of tables to stderr, using partly fprintf, partly
G_message.

I would suggest, the tables should be printed to STDOUT and new flag -q
should be added, for turning this messages off.

What do you think?

Thanks

Jachym
--
Jachym Cepicky
e-mail: jachym.cepicky@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@node.mendelu.cz
URL: http://mapserver.mendelu.cz
Tel.: +420 545 134 514

Jachym Cepicky wrote:

v.clean prints lots of tables to stderr, using partly fprintf, partly
G_message.

I would suggest, the tables should be printed to STDOUT and new flag -q
should be added, for turning this messages off.

What do you think?

Hi Jachym

You might like to take a look at
http://intevation.de/rt/webrt?serial_num=4524

Maciek

Hi,
On Mon, Jan 08, 2007 at 12:20:14PM +0100, Maciej Sieczka wrote:

Jachym Cepicky wrote:

> v.clean prints lots of tables to stderr, using partly fprintf, partly
> G_message.
>
> I would suggest, the tables should be printed to STDOUT and new flag -q
> should be added, for turning this messages off.
>
> What do you think?

Hi Jachym

You might like to take a look at
http://intevation.de/rt/webrt?serial_num=4524

Maciek

Well, if I understand this well, v.clean is simply too verbose and it
would be good to make it less verbose.

I suggest,

    - redirect output from v.clean to stdout
    - add new flag -t/-q/-v for table/quiet/verbose printing/hiding the
      informations about cleaning tools and thier settings

Any objections/suggestions ?

Jachym

--
Jachym Cepicky
e-mail: jachym.cepicky@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@node.mendelu.cz
URL: http://mapserver.mendelu.cz
Tel.: +420 545 134 514