<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 Felix,<br><br>attached is a patch that may help to solve your problems with reversed oneways.<br><br>It may not work without --ignore-turn-restrictions. I'd first like to make sure<br>that I understand what you are doing.<br><br>I've added a few lines to the default style to produce additional lines for <br>ways with highway=* & incline=up<br>If I got you right, you create one oneway for the uphill direction and another<br>one with reverse direction for downhill, and also overlaying lines with<br>types that are direction dependent. The result is in switch_oneway.zip.<br><br>The attached reverse-oneway-v3.patch changes mkgmap to keep the order of<br>points in each way. That means, points are reversed after style processing if <br>tag oneway=-1 is found, and this order is then maintained in the rest of the program.<br><br>Gerd<br>P.S. I think we can drop the idea of reversing ways with "oneway=-1" before style processing. <br>This will not help in your case, as you add the tag in the style.<br><br>                                            </div></body>
</html>