<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi WanMil,<br><br>in addition to my previous post:<br>A completely different approach would be to add or change a point near the crossing<br>(in RoadMerger)<br>so that the bearings calculated in RoadNetwork are fine. In that case we just<br>have to store one bit in the Coord instance to tell tweezeArcs() that this point<br>should not be changed. The additional point(s) could be very close to the crossing<br>and maybe removed later.<br><br>Gerd<br><br><div>> Date: Thu, 20 Feb 2014 22:35:40 +0100<br>> From: wmgcnfg@web.de<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: Re: [mkgmap-dev] RoadMerger and adjust-turn-headings<br>> <br>> > Hi WanMil,<br>> ><br>> > I think the code for --adjust-turn-headings in RouteNode.tweezeArcs()<br>> > looks rather similar to that in RoadMerger, and maybe<br>> > will not work as well in combination with RoadMerger<br>> > as it assumes that two arcs with the same<br>> > road (OSM id) are building the "main road":<br>> ><br>> > // the code tries to detect a pair of arcs (the "incoming"<br>> > // arc and the "outgoing" arc) that are the "main road"<br>> > // and the remaining arc (called the "other" arc) which is<br>> > // the "side road"<br>> ><br>> > I got the impression that RoadMerger also calculates the<br>> > required data (angles etc).<br>> > It would be great if RoadMerger could store the information<br>> > somewhere so that tweezeArcs could use it.<br>> ><br>> > Gerd<br>> ><br>> <br>> Ok, do you have an idea how to store the required information?<br>> <br>> WanMil<br>> <br>> _______________________________________________<br>> mkgmap-dev mailing list<br>> mkgmap-dev@lists.mkgmap.org.uk<br>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></div>                                            </div></body>
</html>