<html>
<head>
</head>
<body class='hmmessage'><div dir='ltr'>

<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hi all,<br><br>a few days ago Felix suggested to add code to improve routing for bicycles:<br><a href="http://gis.19327.n5.nabble.com/r3165-in-via-ways-branch-tp5802056p5802063.html" target="_blank">http://gis.19327.n5.nabble.com/r3165-in-via-ways-branch-tp5802056p5802063.html</a><br><br>If I got that right, mkgmap should detect cases where two arcs meet at with a sharp angle <br>and the arcs are only accessible by bicycle or foot. In such a case, mkgmap should<br>"manipulate" the angle so that the routing algo doesn't add too much time penalty,<br>as we can assume that the real angle is not that sharp.<br><br>Or mkgmap should assume that the created map is for cyclists only, so that car access<br>means something like racing bike.<br><br>Optimization would work like this:<br>1) at an y-shaped node, find the two arcs which are closer to a straight line and modify the <br>initial heading of the other arc so that Garmin sees a right angle (90°)&nbsp; .<br>2) at an x -shaped node, try to make all angles 90°<br>3) at nodes with more than 4 arcs, do nothing.<br><br>If the style adds multiple routable ways for one OSM way, the corresponding<br>multiple arcs between nodes on that way should be counted like one .<br><br>If that can be coded, it has only to be done if a new option like --optimize-cycle-ways is given.<br><br>Did I get that right? <br><br>@Felix:<br>Please provide a test case (the OSM id of a node ) <br><br>Gerd<br><br></div>
                                               </div></body>
</html>