<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 Minko,<br><br>I see no problem as long as the bitmap for the routable way is not direction depended.<br>The order of processing is now this:<br>for one OSM way your style adds <br>- one or more routable ways <br>- one or more non-routable ways<br>For each of them mkgmap creates a copy of the list of points<br>and reverses the points for the oneway=-1 or oneway=reverse ways.<br>Later, the routable ways are passed to the routine that removes<br>short arcs or wrong angles. If the first one is changed by that routine, all <br>other copies are changed as well to make sure that all copies<br>are displayed at the same position.<br>Next, the routable ways are passed to the road merger,<br>the non-routable ways are not touched by the road merger<br>or any other routine like the ones that splits roads with loops.<br>As long as we keep that order it should work, allthough<br>the splitting sometimes adds points which may cause small differences<br>between the displayed road and the overlay lines.<br><br>Gerd<br><br><div>> Date: Sun, 12 Jan 2014 15:45:14 +0100<br>> From: ligfietser@online.nl<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: Re: [mkgmap-dev] [PATCH] RoadMerger reverses roads<br>> <br>> Gerd, I dont create a routable way for those items, but I dont know if the orientation will be different for the rendering if the way is reversed in direction.<br>> I assume left would become right, so a left sided bike lane would turn up on the right side?<br>> <br>> > If you create routable ways for them I think it patch will cause<br>> > trouble.<br>> > Maybe we need a tag like mkgmap:reversible=no tell the road merger<br>> > that this road is not<br>> > a oneway but still has a direction?<br>> > <br>> > Gerd<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>