[GRASS5] not clear behaviour of v.clean

Dear developpers,
I tried to use v.clean to correct a vector map...
if I use more than one tool at the same time, for example:
____________________________________________________
v.clean input=insediamenti output=insed_prova_clean1
tool=rmdupl,bpol,rmarea thresh=10
____________________________________________________

I obtain the next output:

_____________________________________________________

WARNING: Threshold for tool 1 may not be > 0, set to 0
+---------------------------------+---------------+
| Tool | Threshold |
+---------------------------------+---------------+
| Remove duplicates | 0.000000e+00 |
| Break polygons | 0.000000e+00 |
| Remove small areas | 0.000000e+00 |

..............
..............
...............
Tool: Remove small areas
Removed areas: 0
0 areas of total size 0 removed
_____________________________________________________

it seems that the first tool force the value of the threshold of tool
rmarea to be 0.0

in fact if I use v.clean over the same file but using only rmarea tool..
the module remove 6 ares... as you can see below:

____________________________________________________

v.clean input=insediamenti output=insed_prova_clean3 tool=rmarea
thresh=10

+---------------------------------+---------------+
| Tool | Threshold |
+---------------------------------+---------------+
| Remove small areas | 1.000000e+01 |
.................
................
..................
...................
Tool: Remove small areas
Removed areas: 11
11 areas of total size 24.7048 removed
_____________________________________________________

It could be a bug???

bye

Ivan

--
ivan marchesini <marchesini@unipg.it>

The 'thresh' is multiple, you have to give a value for each
tool: thresh=0,0,10

Radim

ivan marchesini wrote:

Dear developpers,
I tried to use v.clean to correct a vector map...
if I use more than one tool at the same time, for example:
____________________________________________________
v.clean input=insediamenti output=insed_prova_clean1
tool=rmdupl,bpol,rmarea thresh=10
____________________________________________________

I obtain the next output:

_____________________________________________________

WARNING: Threshold for tool 1 may not be > 0, set to 0
+---------------------------------+---------------+
| Tool | Threshold |
+---------------------------------+---------------+
| Remove duplicates | 0.000000e+00 |
| Break polygons | 0.000000e+00 |
| Remove small areas | 0.000000e+00 |

..............
...............
Tool: Remove small areas
Removed areas: 0
0 areas of total size 0 removed
_____________________________________________________

it seems that the first tool force the value of the threshold of tool
rmarea to be 0.0

in fact if I use v.clean over the same file but using only rmarea tool..
the module remove 6 ares... as you can see below:

____________________________________________________

v.clean input=insediamenti output=insed_prova_clean3 tool=rmarea
thresh=10

+---------------------------------+---------------+
| Tool | Threshold |
+---------------------------------+---------------+
| Remove small areas | 1.000000e+01 |
.................
................
..................
...................
Tool: Remove small areas
Removed areas: 11
11 areas of total size 24.7048 removed
_____________________________________________________

It could be a bug???

bye

Ivan