logo separator

[mkgmap-dev] RoadMerger and adjust-turn-headings

From WanMil wmgcnfg at web.de on Thu Feb 20 21:35:40 GMT 2014

> 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
>

Ok, do you have an idea how to store the required information?

WanMil



More information about the mkgmap-dev mailing list