Hi WanMil,
> setHighwayCount() still need to be changed.
> In case the merged road has the same id as the duplicate road you have
> the same problem again.
>
> <<<<<<<<<<< (not counted due to same id)
> x>>>>>>>>>x>>>>>>>>>>>x
> 1 1 1
>
> should be
>
> <<<<<<<<<<<
> x>>>>>>>>>x>>>>>>>>>>>x
> 1 2 2
>
okay, now I understand. I forgot that the merged ways still have an id from
one of the original OSM ways. Wouldn't it be better to create a new way with
a fake id in the merge process?
I think that also would help debugging.
Gerd