<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>if your style interprets a tag like a oneway=yes you should add<br>that tag. This might prevent problems caused by the RoadMerger,<br>which might reverse lines which are not oneways.<br>If you find or set oneway=-1, the current implementation<br>will reverse the way. <br>If you add multiple routable lines for one OSM<br>way, one with, one without the oneway tag,<br>you will see unpredictable directions if such a way <br>is modified by the WrongAngleFixer and the type<br>is direction dependent.<br>The WrongAngleFixer assumes that the points in <br>all ways with the same OSM id are equal, so<br>it optimizes one way and copies the points to the others.<br>This will fail if they have different oneway attributes.<br>If you think this could be the cause of the problem,<br>I should be able to provide a fix.<br><br>Gerd<br><div><br><hr id="stopSpelling">Date: Fri, 25 Apr 2014 01:00:18 +0800<br>From: extremecarver@gmail.com<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>Subject: Re: [mkgmap-dev] oneway reverse patch<br><br><div dir="ltr"><div>Ups - but forgot to say. I think in 99% of all cases - cycleway:left and cycleway:right are used on streets which feature oneway=yes... less often oneway=-1 and even less often no oneway at all.<br></div>
Streets with oneway=yes are fine. I'm talking about no oneway tag from OSM data at all, or oneway=-1 set in style (but no oneway from OSM data) or no oneway at all. Only on those there are problems - so you're not likely to notice them I think....<br>
</div><div class="ecxgmail_extra"><br><br><div class="ecxgmail_quote">On 25 April 2014 00:39, Minko <span dir="ltr">&lt;<a href="mailto:ligfietser@online.nl" target="_blank">ligfietser@online.nl</a>&gt;</span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">
Yes I render cycleway:left and cycleway:right too.<br>
And as you say, they are always on the wrong side on the GPS.<br>
Interesting to know that Garmin uses asymmetric lines independent of the road direction. If we only could find out how they do this...<br>
<br>
Felix wrote<br>
<div class="ecxim ecxHOEnZb">&gt; I don't think that Minkos style shows cycleways on the left/right side<br>
&gt; of a road - am I wrong? - Anyhow they would usually have a oneway tag<br>
&gt; already in OSM data.<br>
&gt; Also definitely no uphill/downhill arrows - which nearly never<br>
&gt; actually have a oneway tag (and only sometimes I add one during<br>
&gt; processing).<br>
</div><div class="ecxHOEnZb"><div class="h5">_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
</div></div></blockquote></div><br></div>
<br>_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</div>                                               </div></body>
</html>