Hi WanMil,

I think the code for --adjust-turn-headings in  RouteNode.tweezeArcs()
looks rather similar to that in RoadMerger, and maybe 
will not work as well in combination with RoadMerger 
as it assumes that two arcs with the same
road (OSM id) are building the "main road":

            // the code tries to detect a pair of arcs (the "incoming"
            // arc and the "outgoing" arc) that are the "main road"
            // and the remaining arc (called the "other" arc) which is
            // the "side road" 

I got the impression that RoadMerger also calculates the 
required data (angles etc).
It would be great if RoadMerger could store the information
somewhere so that tweezeArcs could use it.

Gerd

                                          
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to