[GRASS-user] problem with v.edit tool=merge

Jarek Jasiewicz jarekj at amu.edu.pl
Thu Mar 29 01:55:27 EDT 2007


Martin Landa napisał(a):
> Hi Jarek,
>
> 2007/3/28, Jarek Jasiewicz <jarekj at amu.edu.pl>:
>
>> - it sometimes work, but new line has two categories on one layer, it is
>> corrected? IMHO it is not the best solution
>
> sometimes?;-)
I made several test on that file some lines have merged, but I can't say 
why that ones
>
> yes, it is not the best solution, but I am not sure what the user
> would expect, what do you thing? Merging two lines (layer 1) described
> bellow:
>
> +-----1/1-----+------1/2-----+
>
> we get new line
>
> +------1/?------+
>
> I think that the vector layer should not be changed (i.e. still layer 1).
>
> Currently this line gets category 1 and 2.

I think that tool is suitable to work on fresh vector (for example after 
r.to.vect) without atributies it will rather be a part of the sript than 
stand-alone tool,
maybe other grass-user will help which solution will be the best
>
>> - I did not reproduced merge in file i send. It has only worked when i
>> used cat=1-99999 (i.e only 2 or three lines has been merged)
>> - but if i used cat 1-99 it hasen't worked, no line has been merged
>
> I am not sure if I understand well, using your testing data
> cat=1-99999 and cat=1-99 works OK.
no, in that situation cat=1-99 gave negative result (no lines merged) 
but cat=1-99999 merged two or three lines
>
>> - there is no problem with merging if there are only two lines in map
if I prepared few vector with only two lines the result was OK
>> - if two lines has been merged and line with cat=1/2 has been created,

in some situations in file where were more than two lines with huge 
threshold first two lines, but no more lines can be merged again

Jarek




More information about the grass-user mailing list